From 35139815a6813e20f03e5b9cc51fc57d3ce15a42 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Mon, 25 Feb 2013 13:42:11 +0100 Subject: [PATCH] Added alias for /party owner: "/party leader" --- .../com/gmail/nossr50/party/commands/PartySubcommandType.java | 3 +++ 1 file changed, 3 insertions(+) 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; }