mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 20:11:21 +02: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:
@@ -71,8 +71,8 @@ public class Commandsell extends EssentialsCommand
|
|||||||
if (amount > max || amount < 1)
|
if (amount > max || amount < 1)
|
||||||
{
|
{
|
||||||
user.sendMessage("§cYou do not have enough of that item to sell.");
|
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("§7If you meant to sell all of your items of that type, use /sell itemname");
|
||||||
user.sendMessage("§7/sell -1 will sell all but one item, etc.");
|
user.sendMessage("§7/sell itemname -1 will sell all but one item, etc.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user