mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-17 04:00:25 +00:00
oops its should be redis 6.0 not 6.2
This commit is contained in:
@@ -248,7 +248,7 @@ public final class RedisBungee extends Plugin {
|
||||
String version = s.split(":")[1];
|
||||
getLogger().info(version + " <- redis version");
|
||||
if (!(usingLua = RedisUtil.canUseLua(version))) {
|
||||
getLogger().warning("Your version of Redis (" + version + ") is not at least version 6.2 RedisBungee requires a newer version of Redis.");
|
||||
getLogger().warning("Your version of Redis (" + version + ") is not at least version 6.0 RedisBungee requires a newer version of Redis.");
|
||||
throw new RuntimeException("Unsupported Redis version detected");
|
||||
} else {
|
||||
LuaManager manager = new LuaManager(this);
|
||||
|
||||
@@ -65,6 +65,6 @@ public class RedisUtil {
|
||||
}
|
||||
int major = Integer.parseInt(args[0]);
|
||||
int minor = Integer.parseInt(args[1]);
|
||||
return major >= 6 && minor >= 2;
|
||||
return major >= 6 && minor >= 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user