But is required in case of fail
This commit is contained in:
parent
b92be6d2a9
commit
b6dedbd13a
@ -186,6 +186,7 @@ public class SimplyCommands implements CommandExecutor {
|
||||
sender.sendMessage(ChatColor.GREEN + "Operation success !");
|
||||
} catch (Exception e) {
|
||||
plugin.reloadConfig();
|
||||
plugin.refreshPermissions();
|
||||
sender.sendMessage(ChatColor.RED + "An error occurred ! Please check server log...");
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user