Only allow 6.2 or above of redis versions

This commit is contained in:
mohammed jasem alaajel 2023-10-18 15:42:35 +04:00
parent a6c6916103
commit d70a5de829
2 changed files with 6 additions and 5 deletions

View File

@ -36,10 +36,11 @@ SpigotMC resource page: [click](https://www.spigotmc.org/resources/redisbungee.8
|:-------------:|:---------:|
| 1.x.x | ✖ |
| 2.x.x | ✖ |
| 3.x.x | ✔ |
| 4.x.x | ✔ |
| 5.x.x | ✔ |
| 6.x.x | ✔ |
| 3.x.x | ✖ |
| 4.x.x | ✖ |
| 5.x.x | ✖ |
| below 6.2 | ✖ |
| 6.2 or above | &#x2714 |
| 7.x.x | ✔ |
## Implementing RedisBungee in your plugin: [![RedisBungee Build](https://github.com/proxiodev/RedisBungee/actions/workflows/maven.yml/badge.svg)](https://github.com/Limework/RedisBungee/actions/workflows/maven.yml) [![](https://jitpack.io/v/ProxioDev/redisbungee.svg)](https://jitpack.io/#ProxioDev/redisbungee)

View File

@ -13,7 +13,7 @@ public class RedisUtil {
}
int major = Integer.parseInt(args[0]);
int minor = Integer.parseInt(args[1]);
return major >= 3 && minor >= 0;
return major >= 6 && minor >= 2;
}
// Ham1255: i am keeping this if some plugin uses this *IF*