From fba131936a2abc0321cdae0240b21b92d9254b11 Mon Sep 17 00:00:00 2001 From: GJ Date: Sun, 28 Apr 2013 01:11:44 -0400 Subject: [PATCH] Fix issue with tab-completing /party commands. --- .../java/com/gmail/nossr50/commands/party/PartyCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: