Command.isEnabled

Checks whether the command is enabled or not in the current environment

Override this to check for x or y and return false if the command can not run properly under the current conditions.

class Command
bool
isEnabled
()

Meta