Package revxrsal.commands.bungee
Class BungeeCommandPermission
java.lang.Object
revxrsal.commands.bungee.BungeeCommandPermission
- All Implemented Interfaces:
CommandPermission
-
Field Summary
Fields inherited from interface revxrsal.commands.command.CommandPermission
ALWAYS_TRUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canExecute
(@NotNull CommandActor actor) Returns whether the sender has permission to use this command or not.
-
Constructor Details
-
BungeeCommandPermission
public BungeeCommandPermission()
-
-
Method Details
-
canExecute
Returns whether the sender has permission to use this command or not.- Specified by:
canExecute
in interfaceCommandPermission
- Parameters:
actor
- Actor to test against- Returns:
true
if they can use it, false if otherwise.
-