From 2a78a5da01b361968770a54e4712a19c18c7feef Mon Sep 17 00:00:00 2001 From: jani270 <69345714+jani270@users.noreply.github.com> Date: Sat, 5 Aug 2023 15:09:31 +0200 Subject: Removing join command and dungeon preset (#800) --- .../moulberry/notenoughupdates/commands/help/HelpCommand.kt | 1 - .../notenoughupdates/commands/misc/DungeonCommands.kt | 13 ------------- 2 files changed, 14 deletions(-) (limited to 'src/main/kotlin/io') diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/HelpCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/HelpCommand.kt index 3ee5fdad..1cd9ccdf 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/HelpCommand.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/HelpCommand.kt @@ -35,7 +35,6 @@ class HelpCommand { "§6/neusouls {on/off/clear/unclear} §r§7- Shows waypoints to fairy souls.", "§6/neubuttons §r§7- Opens a GUI which allows you to customize inventory buttons.", "§6/neuec §r§7- Opens the enchant colour GUI.", - "§6/join {floor} §r§7- Short Command to join a Dungeon. §lNeed a Party of 5 People§r§7 {4/f7/m5}.", "§6/neucosmetics §r§7- Opens the cosmetic GUI.", "§6/neurename §r§7- Opens the NEU Item Customizer.", "§6/cata §b?{name} §2ⴵ §r§7- Opens the profile viewer's Catacombs page.", diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/DungeonCommands.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/DungeonCommands.kt index 3b721df5..ac658e14 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/DungeonCommands.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/DungeonCommands.kt @@ -50,19 +50,6 @@ class DungeonCommands { reply("Deez nuts lmao") } }.withHelp("Warps to the dungeon nuts") - event.command("join") { - thenArgument("floor", string()) { floor -> - suggestsList((1..7).flatMap { listOf("f$it", "m$it") }) - thenExecute { - val floor = this[floor] - val prefix = if (floor.startsWith("m")) "master_catacombs" else "catacombs" - val level = floor.lastOrNull()?.digitToIntOrNull() - val cmd = "/joindungeon $prefix ${floor.lastOrNull()}" - reply("Running command: $cmd") - Minecraft.getMinecraft().thePlayer.sendChatMessage(cmd) - } - }.withHelp("Join a dungeon floor with a party of 5") - } event.command("neumap") { thenLiteral("reset") { thenExecute { -- cgit