diff options
author | Walker Selby <git@walkerselby.com> | 2022-10-19 04:46:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 13:46:12 +0200 |
commit | abe0de1d3e0a6fbc0d43c51cd5371189fda27e16 (patch) | |
tree | a3b73e072052b49afce87ab41716490e307bf951 /src/main/java | |
parent | 744e2268e5debc773114579d118069cbc8aa288d (diff) | |
download | NotEnoughUpdates-abe0de1d3e0a6fbc0d43c51cd5371189fda27e16.tar.gz NotEnoughUpdates-abe0de1d3e0a6fbc0d43c51cd5371189fda27e16.tar.bz2 NotEnoughUpdates-abe0de1d3e0a6fbc0d43c51cd5371189fda27e16.zip |
Fixed /join not always going to Master Mode (#356)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/commands/dungeon/JoinDungeonCommand.java | 2 |
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); |