Class SpongeCommandPermission

java.lang.Object
revxrsal.commands.sponge.SpongeCommandPermission
All Implemented Interfaces:
CommandPermission

public final class SpongeCommandPermission extends Object implements CommandPermission
  • Constructor Details

    • SpongeCommandPermission

      public SpongeCommandPermission()
  • Method Details

    • canExecute

      public boolean canExecute(@NotNull @NotNull CommandActor actor)
      Returns whether the sender has permission to use this command or not.
      Specified by:
      canExecute in interface CommandPermission
      Parameters:
      actor - Actor to test against
      Returns:
      true if they can use it, false if otherwise.