aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2022-10-19 04:46:12 -0700
committerGitHub <noreply@github.com>2022-10-19 13:46:12 +0200
commitabe0de1d3e0a6fbc0d43c51cd5371189fda27e16 (patch)
treea3b73e072052b49afce87ab41716490e307bf951
parent744e2268e5debc773114579d118069cbc8aa288d (diff)
downloadNotEnoughUpdates-abe0de1d3e0a6fbc0d43c51cd5371189fda27e16.tar.gz
NotEnoughUpdates-abe0de1d3e0a6fbc0d43c51cd5371189fda27e16.tar.bz2
NotEnoughUpdates-abe0de1d3e0a6fbc0d43c51cd5371189fda27e16.zip
Fixed /join not always going to Master Mode (#356)
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/dungeon/JoinDungeonCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/dungeon/JoinDungeonCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/dungeon/JoinDungeonCommand.java
index d69f86f3..c1f88942 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/commands/dungeon/JoinDungeonCommand.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/dungeon/JoinDungeonCommand.java
@@ -44,7 +44,7 @@ public class JoinDungeonCommand extends ClientCommandBase {
EnumChatFormatting.RED + "Example Usage: /join f7, /join m6 or /join 7"));
} else {
String cataPrefix = "catacombs";
- if (args[0].startsWith("m")) {
+ if (args[0].toLowerCase().startsWith("m")) {
cataPrefix = "master_catacombs";
}
String cmd = "/joindungeon " + cataPrefix + " " + args[0].charAt(args[0].length() - 1);