added reloadconfig to redisreload
This commit is contained in:
parent
b0d29ea97d
commit
ce3a7e3dcd
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user