diff --git a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java index a7a45cc3a..6b9eacfd0 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PartyCommand.java @@ -171,7 +171,7 @@ public class PartyCommand implements TabExecutor { return ImmutableList.of(); } - switch (PartySubcommandType.valueOf(args[0].toUpperCase())) { + switch (subcommand) { case JOIN: case INVITE: case KICK: