From ed71a41578c11166beab21a59e6b1a3eaf6259da Mon Sep 17 00:00:00 2001 From: ementalo Date: Sat, 16 Apr 2011 00:46:53 +0000 Subject: [PATCH] forgot to return git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1204 e251c2fe-e539-e718-e476-b85c1f46cddb --- .../src/com/earth2me/essentials/commands/Commandsetworth.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java b/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java index dfbef773a..3f903dcc9 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandsetworth.java @@ -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]));