mirror of
https://github.com/essentials/Essentials.git
synced 2025-01-17 21:39:26 +01:00
Powertool fix.
This commit is contained in:
parent
85bf61f2ad
commit
b73ca7db0a
@ -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…
x
Reference in New Issue
Block a user