mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
More inverted checkPlayerExistence() checks
This commit is contained in:
parent
96f9d2a030
commit
9b685be84e
@ -42,7 +42,7 @@ public class McabilityCommand implements CommandExecutor {
|
||||
|
||||
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||
|
||||
if (CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||
if (!CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class McgodCommand implements CommandExecutor {
|
||||
|
||||
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||
|
||||
if (CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||
if (!CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class McrefreshCommand implements CommandExecutor {
|
||||
|
||||
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||
|
||||
if (CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||
if (!CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user