mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-09 07:45:28 +02:00
Fixed broken /party invite
command
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user