[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@1221 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-04-16 15:12:45 +00:00
parent 5ef0fd180b
commit 59c0534d48

View File

@ -71,8 +71,8 @@ public class Commandsell extends EssentialsCommand
if (amount > max || amount < 1)
{
user.sendMessage("§cYou do not have enough of that item to sell.");
user.sendMessage("§7If you meant to sell all of your items of that type, use /sell without parameters.");
user.sendMessage("§7/sell -1 will sell all but one item, etc.");
user.sendMessage("§7If you meant to sell all of your items of that type, use /sell itemname");
user.sendMessage("§7/sell itemname -1 will sell all but one item, etc.");
return;
}