aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2023-08-05 15:09:31 +0200
committerGitHub <noreply@github.com>2023-08-05 15:09:31 +0200
commit2a78a5da01b361968770a54e4712a19c18c7feef (patch)
treecc2fcc333742f6091d5816a69b337597bb817681 /src/main/kotlin
parent6d7bd24771e4d09fb0a68b7d556d12d5690bbc06 (diff)
downloadNotEnoughUpdates-2a78a5da01b361968770a54e4712a19c18c7feef.tar.gz
NotEnoughUpdates-2a78a5da01b361968770a54e4712a19c18c7feef.tar.bz2
NotEnoughUpdates-2a78a5da01b361968770a54e4712a19c18c7feef.zip
Removing join command and dungeon preset (#800)
Diffstat (limited to 'src/main/kotlin')
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/help/HelpCommand.kt1
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/misc/DungeonCommands.kt13
2 files changed, 0 insertions, 14 deletions
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 {