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 !");
|
sender.sendMessage(ChatColor.GREEN + "Operation success !");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
plugin.reloadConfig();
|
plugin.reloadConfig();
|
||||||
|
plugin.refreshPermissions();
|
||||||
sender.sendMessage(ChatColor.RED + "An error occurred ! Please check server log...");
|
sender.sendMessage(ChatColor.RED + "An error occurred ! Please check server log...");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user