diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandpowertool.java | 4 | ||||
-rw-r--r-- | Essentials/src/plugin.yml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandpowertool.java b/Essentials/src/com/earth2me/essentials/commands/Commandpowertool.java index c9e8dea58..b99266b13 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandpowertool.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandpowertool.java @@ -22,13 +22,13 @@ public class Commandpowertool extends EssentialsCommand String command = getFinalArg(args, 0); // check to see if this is a clear all command - if(command != null && command.equalsIgnoreCase("clearall")) + if(command != null && command.equalsIgnoreCase("c:")) { user.clearAllPowertools(); user.sendMessage(Util.i18n("powerToolClearAll")); return; } - + final ItemStack itemStack = user.getItemInHand(); if (itemStack == null || itemStack.getType() == Material.AIR) { diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 4f199ef14..3817234d5 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -212,7 +212,7 @@ commands: aliases: [pong,eping,epong] powertool: description: Assigns a command to the item in hand, {player} will be replaced by the name of the player that you click. - usage: /<command> [l:|a:|r:][command] <arguments> + usage: /<command> [l:|a:|r:|c:][command] [arguments] aliases: [pt,epowertool,ept] powertooltoggle: description: Enables or disables all current powertools |