forked from SteamWar/SteamWar
Improve output for DevCommand reloadmodes
This commit is contained in:
@@ -80,7 +80,12 @@ public class DevCommand extends SWCommand {
|
||||
if(!sender.user().hasPerm(UserPerm.ADMINISTRATION))
|
||||
return;
|
||||
|
||||
ArenaMode.init();
|
||||
try {
|
||||
ArenaMode.init();
|
||||
sender.system("DEV_RELOAD_MODES_OK");
|
||||
} catch (Exception e) {
|
||||
sender.system("DEV_RELOAD_MODES_ERROR", e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
@Register
|
||||
|
||||
Reference in New Issue
Block a user