diff --git a/src/main/java/com/gmail/nossr50/party/commands/PartySubcommandType.java b/src/main/java/com/gmail/nossr50/party/commands/PartySubcommandType.java index 925dd6d63..fa9432447 100644 --- a/src/main/java/com/gmail/nossr50/party/commands/PartySubcommandType.java +++ b/src/main/java/com/gmail/nossr50/party/commands/PartySubcommandType.java @@ -33,6 +33,9 @@ public enum PartySubcommandType { else if (commandName.equalsIgnoreCase("q") || commandName.equalsIgnoreCase("leave")) { return QUIT; } + else if (commandName.equalsIgnoreCase("leader")) { + return OWNER; + } else if (commandName.equalsIgnoreCase("xpshare") || commandName.equalsIgnoreCase("shareexp") || commandName.equalsIgnoreCase("sharexp")) { return EXPSHARE; }