From aed820a2467907ae1fe5e9355ab8b707a8306bf1 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sat, 16 Apr 2011 15:15:46 +0000 Subject: [PATCH] [trunk] /sell itemname amount New syntax for sell command, proposed by KimKandor It won't sell the items in hand anymore. git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1222 e251c2fe-e539-e718-e476-b85c1f46cddb --- .../src/com/earth2me/essentials/commands/Commandsell.java | 2 +- Essentials/src/plugin.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java index 7d8f3a9de..faf8e945f 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsell.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsell.java @@ -20,7 +20,7 @@ public class Commandsell extends EssentialsCommand public void run(Server server, Essentials parent, User user, String commandLabel, String[] args) throws Exception { if (args.length < 1) { - user.sendMessage("§cUsage: /sell [amount]"); + user.sendMessage("§cUsage: /sell [itemname|id] [-][amount]"); return; } ItemStack is = ItemDb.get(args[0]); diff --git a/Essentials/src/plugin.yml b/Essentials/src/plugin.yml index 0aba6c3fb..400afafce 100644 --- a/Essentials/src/plugin.yml +++ b/Essentials/src/plugin.yml @@ -177,7 +177,7 @@ commands: usage: / sell: description: Sells the item currently in your hand. - usage: / <-> + usage: / [itemname|id] [-][amount] sethome: description: Set your home to your current location. usage: /