added reloadconfig to redisreload

This commit is contained in:
mohammed jasem alaajel 2020-12-26 15:09:25 +04:00 committed by Govindas
parent 0783fd64d0
commit c04c01792f

View File

@ -20,6 +20,7 @@ public class RediSkript extends JavaPlugin {
private RedisController redisController; private RedisController redisController;
public void reloadRedis() { public void reloadRedis() {
reloadConfig();
redisController.shutdown(); redisController.shutdown();
redisController = new RedisController(this); redisController = new RedisController(this);
} }