forked from Limework/RediSkript
added reloadconfig to redisreload
This commit is contained in:
parent
0783fd64d0
commit
c04c01792f
@ -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