Fixed broken /party invite command

This commit is contained in:
TfT_02 2013-03-22 19:06:21 +01:00
parent 2b7178fb00
commit 96f9d2a030

View File

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