Added alias for /party owner: "/party leader"

This commit is contained in:
TfT_02 2013-02-25 13:42:11 +01:00
parent da1e03cbfc
commit 35139815a6

View File

@ -33,6 +33,9 @@ public enum PartySubcommandType {
else if (commandName.equalsIgnoreCase("q") || commandName.equalsIgnoreCase("leave")) { else if (commandName.equalsIgnoreCase("q") || commandName.equalsIgnoreCase("leave")) {
return QUIT; return QUIT;
} }
else if (commandName.equalsIgnoreCase("leader")) {
return OWNER;
}
else if (commandName.equalsIgnoreCase("xpshare") || commandName.equalsIgnoreCase("shareexp") || commandName.equalsIgnoreCase("sharexp")) { else if (commandName.equalsIgnoreCase("xpshare") || commandName.equalsIgnoreCase("shareexp") || commandName.equalsIgnoreCase("sharexp")) {
return EXPSHARE; return EXPSHARE;
} }