public class CmdWzRepair extends java.lang.Object implements WauzCommand
WauzCommand,
WauzCommandExecutor| Constructor and Description |
|---|
CmdWzRepair() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeCommand(org.bukkit.command.CommandSender sender,
java.lang.String[] args)
Executes the command for given sender with arguments.
|
java.util.List<java.lang.String> |
getCommandIds() |
private void |
tryToRepair(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack itemToRepair)
Tries to repair the given item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowConsoleExecutionpublic java.util.List<java.lang.String> getCommandIds()
getCommandIds in interface WauzCommandpublic boolean executeCommand(org.bukkit.command.CommandSender sender,
java.lang.String[] args)
executeCommand in interface WauzCommandsender - The sender of the command.args - The arguments of the command.private void tryToRepair(org.bukkit.entity.Player player,
org.bukkit.inventory.ItemStack itemToRepair)
player - The player, that owns the item.itemToRepair - The item to repair.