mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Fixed mcability not respecting permissions.
This commit is contained in:
parent
9589924235
commit
bc8f073f3f
@ -18,7 +18,7 @@ public class McabilityCommand implements CommandExecutor {
|
||||
player = (Player) sender;
|
||||
}
|
||||
|
||||
if (player != null && player.hasPermission("mcmmo.commands.ability")) {
|
||||
if (player != null && !player.hasPermission("mcmmo.commands.ability")) {
|
||||
sender.sendMessage("This command requires permissions.");
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user