Fixed /party command not allowing party creation

This commit is contained in:
bm01 2012-04-27 07:21:01 +02:00
parent 0234b0f6ce
commit e97fec802c

View File

@ -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);