mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +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;
|
return true;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
if (!partyInstance.isParty(args[0])) {
|
|
||||||
sender.sendMessage(mcLocale.getString("Party.InvalidName"));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (args[0].equalsIgnoreCase("q")) {
|
if (args[0].equalsIgnoreCase("q")) {
|
||||||
if (inParty) {
|
if (inParty) {
|
||||||
McMMOPartyChangeEvent event = new McMMOPartyChangeEvent(player, partyName, null, EventReason.LEFT_PARTY);
|
McMMOPartyChangeEvent event = new McMMOPartyChangeEvent(player, partyName, null, EventReason.LEFT_PARTY);
|
||||||
|
Loading…
Reference in New Issue
Block a user