mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Clean up a little more from our permissions reworking.
This commit is contained in:
@ -564,6 +564,14 @@ public final class Permissions {
|
||||
return (hasPermission(player, "mcmmo.commands.skillreset") || skillReset(player));
|
||||
}
|
||||
|
||||
public static boolean mcAbilityCommand(Player player) {
|
||||
return (hasPermission(player, "mcmmo.commands.mcability") || mcAbility(player));
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link #mcAbilityCommand(player)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean mcAbility(Player player) {
|
||||
return hasPermission(player, "mcmmo.commands.ability");
|
||||
}
|
||||
|
Reference in New Issue
Block a user