2
0
Эх сурвалжийг харах

Fix issue with tab-completing /party commands.

GJ 12 жил өмнө
parent
commit
fba131936a

+ 1 - 1
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: