update redis wrong version message

This commit is contained in:
mohammed jasem alaajel 2024-02-24 00:08:58 +04:00
parent 44175e8a68
commit 72b2d46dcd
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class InitialUtils {
String version = s.split(":")[1];
plugin.logInfo("Redis server version: " + version);
if (!RedisUtil.isRedisVersionRight(version)) {
plugin.logFatal("Your version of Redis (" + version + ") is not at least version 3.0 RedisBungee requires a newer version of Redis.");
plugin.logFatal("Your version of Redis (" + version + ") is not at least version " + RedisUtil.MAJOR_VERSION + "." + RedisUtil.MINOR_VERSION + " RedisBungee requires a newer version of Redis.");
throw new RuntimeException("Unsupported Redis version detected");
}
long uuidCacheSize = unifiedJedis.hlen("uuid-cache");