From 7a357634c73a195ef605e85ef04d6e4d65bed160 Mon Sep 17 00:00:00 2001 From: GJ Date: Fri, 8 Feb 2013 11:17:15 -0500 Subject: [PATCH] We've already verified that they're in a party by this point. --- .../com/gmail/nossr50/party/commands/PartyQuitCommand.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/party/commands/PartyQuitCommand.java b/src/main/java/com/gmail/nossr50/party/commands/PartyQuitCommand.java index c64b0d6ca..8a6facd31 100644 --- a/src/main/java/com/gmail/nossr50/party/commands/PartyQuitCommand.java +++ b/src/main/java/com/gmail/nossr50/party/commands/PartyQuitCommand.java @@ -28,11 +28,6 @@ public class PartyQuitCommand implements CommandExecutor { player = (Player) sender; 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)) { return true; }