mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 03:24:31 +02:00
forgot to return
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1204 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
@@ -21,6 +21,7 @@ public class Commandsetworth extends EssentialsCommand
|
||||
if(args.length < 2)
|
||||
{
|
||||
user.sendMessage("§cUsage: /" + commandLabel + " [itemname|id] [price]");
|
||||
return;
|
||||
}
|
||||
ItemStack stack = ItemDb.get(args[0]);
|
||||
Essentials.getWorth().setPrice(Integer.toString(stack.getTypeId()), Integer.parseInt(args[1]));
|
||||
|
Reference in New Issue
Block a user