mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-07 07:51:55 +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@1222 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
59c0534d48
commit
e58e73f1e5
@ -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 <itemname> [amount]");
|
||||
user.sendMessage("§cUsage: /sell [itemname|id] [-][amount]");
|
||||
return;
|
||||
}
|
||||
ItemStack is = ItemDb.get(args[0]);
|
||||
|
@ -177,7 +177,7 @@ commands:
|
||||
usage: /<command>
|
||||
sell:
|
||||
description: Sells the item currently in your hand.
|
||||
usage: /<command> <-><amount>
|
||||
usage: /<command> [itemname|id] [-][amount]
|
||||
sethome:
|
||||
description: Set your home to your current location.
|
||||
usage: /<command>
|
||||
|
Loading…
Reference in New Issue
Block a user