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