added getJedisPool for skript reflect usage

This commit is contained in:
mohammed jasem alaajel 2021-06-14 08:55:29 +04:00 committed by Govindas
parent 01b5304719
commit 58457af086
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,8 @@ public class RedisController extends BinaryJedisPubSub implements Runnable {
private final JedisPool jedisPool;
//this seems useless unless tls is OFF!
// class author is govindas :/
private final Encryption encryption;
private byte[][] channelsInByte;
@ -257,4 +259,10 @@ public class RedisController extends BinaryJedisPubSub implements Runnable {
public Boolean isRedisConnectionOffline() {
return isConnectionBroken.get();
}
// for skript reflect :)
public JedisPool getJedisPool() {
return jedisPool;
}
//
}