mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Added alias for /party owner: "/party leader"
This commit is contained in:
parent
da1e03cbfc
commit
35139815a6
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user