mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
oops its should be redis 6.0 not 6.2
This commit is contained in:
parent
6c35f23e16
commit
ba9ca03e1b
@ -13,9 +13,9 @@ This is currently deployed on [Govindas Limework!](https://Limework.net)
|
|||||||
![image](https://limework.net/logo.png)
|
![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
|
## Compiling
|
||||||
|
|
||||||
|
@ -248,7 +248,7 @@ public final class RedisBungee extends Plugin {
|
|||||||
String version = s.split(":")[1];
|
String version = s.split(":")[1];
|
||||||
getLogger().info(version + " <- redis version");
|
getLogger().info(version + " <- redis version");
|
||||||
if (!(usingLua = RedisUtil.canUseLua(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");
|
throw new RuntimeException("Unsupported Redis version detected");
|
||||||
} else {
|
} else {
|
||||||
LuaManager manager = new LuaManager(this);
|
LuaManager manager = new LuaManager(this);
|
||||||
|
@ -65,6 +65,6 @@ public class RedisUtil {
|
|||||||
}
|
}
|
||||||
int major = Integer.parseInt(args[0]);
|
int major = Integer.parseInt(args[0]);
|
||||||
int minor = Integer.parseInt(args[1]);
|
int minor = Integer.parseInt(args[1]);
|
||||||
return major >= 6 && minor >= 2;
|
return major >= 6 && minor >= 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user