From 96f9d2a0300eb856ca35f7b42ea5e43050ba2e87 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 22 Mar 2013 19:06:21 +0100 Subject: [PATCH] Fixed broken `/party invite` command --- .../com/gmail/nossr50/commands/party/PartyInviteCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/party/PartyInviteCommand.java b/src/main/java/com/gmail/nossr50/commands/party/PartyInviteCommand.java index fed83d088..233d85e44 100644 --- a/src/main/java/com/gmail/nossr50/commands/party/PartyInviteCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/party/PartyInviteCommand.java @@ -19,8 +19,8 @@ public class PartyInviteCommand implements CommandExecutor { case 2: McMMOPlayer mcMMOTarget = UserManager.getPlayer(args[1]); - if (CommandUtils.checkPlayerExistence(sender, args[1], mcMMOTarget)) { - return true; + if (!CommandUtils.checkPlayerExistence(sender, args[1], mcMMOTarget)) { + return false; } Player target = mcMMOTarget.getPlayer();