mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed broken /party invite
command
This commit is contained in:
parent
2b7178fb00
commit
96f9d2a030
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user