From c04c01792fa4243c0850f83f9e25044b90deb8f2 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); }