cheats: fixed broken emblem commands (example: emblem:Human:ElspethSunsChampionEmblem:1)

This commit is contained in:
Oleg Agafonov 2023-12-16 02:25:03 +04:00
parent 150d76dcf9
commit d97b034711
4 changed files with 11 additions and 4 deletions

View file

@ -764,7 +764,7 @@ public final class SystemUtil {
feedbackPlayer.getName(), errorsList.size());
mes += String.join("\n", errorsList);
mes += "\n";
game.fireErrorEvent("Cheat command errors", new IllegalArgumentException(mes));
game.fireErrorEvent("Cheat command errors, see server logs for details", new IllegalArgumentException(mes));
}
game.informPlayers(String.format("%s: tried to apply cheat commands", feedbackPlayer.getLogName()));
}