mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-02 05:21:52 +01:00
[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:
parent
5ef0fd180b
commit
59c0534d48
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user