mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-28 03:27:39 +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]);
|
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||||
|
|
||||||
if (CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
if (!CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ public class McgodCommand implements CommandExecutor {
|
|||||||
|
|
||||||
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||||
|
|
||||||
if (CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
if (!CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ public class McrefreshCommand implements CommandExecutor {
|
|||||||
|
|
||||||
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
mcMMOPlayer = UserManager.getPlayer(args[0]);
|
||||||
|
|
||||||
if (CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
if (!CommandUtils.checkPlayerExistence(sender, args[0], mcMMOPlayer)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user