Powertool fix.

This commit is contained in:
KHobbits 2011-08-27 02:54:45 +01:00
parent dfd283d998
commit 00050d08d4
2 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,7 @@ public class Commandpowertool extends EssentialsCommand
String command = getFinalArg(args, 0);
if (command != null && !command.isEmpty())
{
if (command.equalsIgnoreCase("list"))
if (command.equalsIgnoreCase("l:"))
{
if (powertools == null || powertools.isEmpty())
{
@ -90,6 +90,7 @@ public class Commandpowertool extends EssentialsCommand
}
else
{
powertools.clear();
user.sendMessage(Util.format("powerToolRemoveAll", itemName));
}

View file

@ -208,7 +208,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> [list|a:|r:][command] <arguments>
usage: /<command> [l:|a:|r:][command] <arguments>
aliases: [pt,epowertool,ept]
ptime:
description: Adjust player's client time. Add @ prefix to fix.