oops its should be redis 6.0 not 6.2

This commit is contained in:
mohammed jasem alaajel 2021-07-20 14:49:45 +04:00
parent 6c35f23e16
commit ba9ca03e1b
3 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@ This is currently deployed on [Govindas Limework!](https://Limework.net)
![image](https://limework.net/logo.png)
## Notice: about older versions of redis than redis 6.2
## Notice: about older versions of redis than redis 6.0
As of now Version 0.6.4-SNAPSHOT is only supporting redis 6.2 and above!
As of now Version 0.6.4-SNAPSHOT is only supporting redis 6.0 and above!
## Compiling

View File

@ -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);

View File

@ -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;
}
}