mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-09-29 13:25:30 +00:00
Powertool fix.
This commit is contained in:
parent
dfd283d998
commit
00050d08d4
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue