From ce3a7e3dcdf1459b1aac889ad7aa95dfabf9a2cf Mon Sep 17 00:00:00 2001 From: mohammed jasem alaajel <34905970+ham1255@users.noreply.github.com> Date: Sat, 26 Dec 2020 15:09:25 +0400 Subject: [PATCH] added reloadconfig to redisreload --- src/main/java/net/limework/rediskript/RediSkript.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/limework/rediskript/RediSkript.java b/src/main/java/net/limework/rediskript/RediSkript.java index 509d0bc..cb3c86d 100644 --- a/src/main/java/net/limework/rediskript/RediSkript.java +++ b/src/main/java/net/limework/rediskript/RediSkript.java @@ -20,6 +20,7 @@ public class RediSkript extends JavaPlugin { private RedisController redisController; public void reloadRedis() { + reloadConfig(); redisController.shutdown(); redisController = new RedisController(this); }