added reloadconfig to redisreload

This commit is contained in:
mohammed jasem alaajel 2020-12-26 15:09:25 +04:00
parent b0d29ea97d
commit ce3a7e3dcd

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