Clear all powertools - /powertool c:

This commit is contained in:
KHobbits 2011-11-04 16:42:03 +00:00
parent 7618754b89
commit fd2ec22919
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ public class Commandpowertool extends EssentialsCommand
String command = getFinalArg(args, 0); String command = getFinalArg(args, 0);
// check to see if this is a clear all command // 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.clearAllPowertools();
user.sendMessage(Util.i18n("powerToolClearAll")); user.sendMessage(Util.i18n("powerToolClearAll"));

View File

@ -212,7 +212,7 @@ commands:
aliases: [pong,eping,epong] aliases: [pong,eping,epong]
powertool: powertool:
description: Assigns a command to the item in hand, {player} will be replaced by the name of the player that you click. 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] aliases: [pt,epowertool,ept]
powertooltoggle: powertooltoggle:
description: Enables or disables all current powertools description: Enables or disables all current powertools