1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-08 23:57:23 +02:00

Clear all powertools - /powertool c:

This commit is contained in:
KHobbits
2011-11-04 16:42:03 +00:00
parent b12b365f2d
commit 99565064a2
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);
// 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"));

View File

@@ -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