public class DebugCommand extends PKCommand
PKCommand
.Constructor and Description |
---|
DebugCommand() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.bukkit.command.CommandSender sender,
java.util.List<java.lang.String> args)
Executes the command.
|
boolean |
hasPermission(org.bukkit.command.CommandSender sender)
Checks if the CommandSender has the permission 'bending.admin.debug'.
|
getAliases, getDescription, getElement, getName, getProperUse, help
public void execute(org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> args)
SubCommand
sender
- The CommandSender who issued the commandargs
- the command's argumentspublic boolean hasPermission(org.bukkit.command.CommandSender sender)
sender
- The CommandSender to check