2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-09-19 15:18:01 +00:00

clarify compatibility mode error

This commit is contained in:
mohammed jasem alaajel 2024-05-06 15:24:10 +04:00
parent 62007992a7
commit 7029552c02
Signed by: ham1255
GPG Key ID: EF343502046229F4

View File

@ -423,7 +423,7 @@ public abstract class AbstractRedisBungeeAPI {
if (getMode() == RedisBungeeMode.SINGLE) { if (getMode() == RedisBungeeMode.SINGLE) {
JedisPool jedisPool = ((JedisPooledSummoner) this.plugin.getSummoner()).getCompatibilityJedisPool(); JedisPool jedisPool = ((JedisPooledSummoner) this.plugin.getSummoner()).getCompatibilityJedisPool();
if (jedisPool == null) { if (jedisPool == null) {
throw new IllegalStateException("JedisPool compatibility mode is disabled"); throw new IllegalStateException("JedisPool compatibility mode is disabled, Please enable it in the RedisBungee config.yml");
} }
return jedisPool; return jedisPool;
} else { } else {