From 72b2d46dcd9e98598f5b17713bafe7049ebe6348 Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel Date: Sat, 24 Feb 2024 00:08:58 +0400 Subject: [PATCH] update redis wrong version message --- .../minecraft/redisbungee/api/util/InitialUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/util/InitialUtils.java b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/util/InitialUtils.java index 6815770..8ebf8d0 100644 --- a/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/util/InitialUtils.java +++ b/RedisBungee-API/src/main/java/com/imaginarycode/minecraft/redisbungee/api/util/InitialUtils.java @@ -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");