mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed /party command not allowing party creation
This commit is contained in:
parent
0234b0f6ce
commit
e97fec802c
@ -78,11 +78,6 @@ public class PartyCommand implements CommandExecutor {
|
||||
return true;
|
||||
|
||||
case 1:
|
||||
if (!partyInstance.isParty(args[0])) {
|
||||
sender.sendMessage(mcLocale.getString("Party.InvalidName"));
|
||||
return true;
|
||||
}
|
||||
|
||||
if (args[0].equalsIgnoreCase("q")) {
|
||||
if (inParty) {
|
||||
McMMOPartyChangeEvent event = new McMMOPartyChangeEvent(player, partyName, null, EventReason.LEFT_PARTY);
|
||||
|
Loading…
Reference in New Issue
Block a user