mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +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;
|
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.");
|
sender.sendMessage("This command requires permissions.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user