mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +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:
|
case 2:
|
||||||
McMMOPlayer mcMMOTarget = UserManager.getPlayer(args[1]);
|
McMMOPlayer mcMMOTarget = UserManager.getPlayer(args[1]);
|
||||||
|
|
||||||
if (CommandUtils.checkPlayerExistence(sender, args[1], mcMMOTarget)) {
|
if (!CommandUtils.checkPlayerExistence(sender, args[1], mcMMOTarget)) {
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Player target = mcMMOTarget.getPlayer();
|
Player target = mcMMOTarget.getPlayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user