diff --git a/src/main/java/emu/grasscutter/command/commands/EnterDungeonCommand.java b/src/main/java/emu/grasscutter/command/commands/EnterDungeonCommand.java index 33e25dca3..b2d21a1b1 100644 --- a/src/main/java/emu/grasscutter/command/commands/EnterDungeonCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/EnterDungeonCommand.java @@ -26,10 +26,11 @@ public final class EnterDungeonCommand implements CommandHandler { } boolean result = targetPlayer.getServer().getDungeonManager().enterDungeon(targetPlayer.getSession().getPlayer(), 0, dungeonId); - CommandHandler.sendMessage(sender, translate(sender, "commands.enter_dungeon.changed", dungeonId)); if (!result) { CommandHandler.sendMessage(sender, translate(sender, "commands.enter_dungeon.not_found_error")); + } else { + CommandHandler.sendMessage(sender, translate(sender, "commands.enter_dungeon.changed", dungeonId)); } } catch (Exception e) { CommandHandler.sendMessage(sender, translate(sender, "commands.enter_dungeon.usage"));