mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 03:24:31 +02:00
[trunk] add alias of ci to cleaninventory
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1169 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -16,6 +16,15 @@ public class Commandclearinventory extends EssentialsCommand
|
|||||||
super("clearinventory");
|
super("clearinventory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String[] getTriggers()
|
||||||
|
{
|
||||||
|
return new String[]
|
||||||
|
{
|
||||||
|
getName(), "ci"
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
|
public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception
|
||||||
{
|
{
|
||||||
|
@@ -41,6 +41,7 @@ commands:
|
|||||||
clearinventory:
|
clearinventory:
|
||||||
description: Clear all items in your inventory.
|
description: Clear all items in your inventory.
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
|
aliases: [ci]
|
||||||
compass:
|
compass:
|
||||||
description: Describes your current bearing.
|
description: Describes your current bearing.
|
||||||
usage: /<command>
|
usage: /<command>
|
||||||
|
Reference in New Issue
Block a user