Improve output for DevCommand reloadmodes

This commit is contained in:
2025-11-10 08:47:17 +01:00
parent 614e989892
commit f6261ad989
2 changed files with 8 additions and 1 deletions
@@ -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