We've already verified that they're in a party by this point.

This commit is contained in:
GJ 2013-02-08 11:17:15 -05:00
parent ef5f72f56c
commit 7a357634c7

View File

@ -28,11 +28,6 @@ public class PartyQuitCommand implements CommandExecutor {
player = (Player) sender; player = (Player) sender;
playerParty = Users.getPlayer(player).getParty(); playerParty = Users.getPlayer(player).getParty();
if (playerParty == null) {
sender.sendMessage(LocaleLoader.getString("Commands.Party.None"));
return true;
}
if (!PartyManager.handlePartyChangeEvent(player, playerParty.getName(), null, EventReason.LEFT_PARTY)) { if (!PartyManager.handlePartyChangeEvent(player, playerParty.getName(), null, EventReason.LEFT_PARTY)) {
return true; return true;
} }