From 003c89c3a4fa9f97c381d28914edc101dad71eb0 Mon Sep 17 00:00:00 2001 From: gmcferrin Date: Tue, 8 Jan 2013 18:54:22 -0500 Subject: [PATCH] Missed one. --- src/main/java/com/gmail/nossr50/skills/repair/Salvage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/repair/Salvage.java b/src/main/java/com/gmail/nossr50/skills/repair/Salvage.java index 090341d88..470281c21 100644 --- a/src/main/java/com/gmail/nossr50/skills/repair/Salvage.java +++ b/src/main/java/com/gmail/nossr50/skills/repair/Salvage.java @@ -39,7 +39,7 @@ public class Salvage { final int salvagedAmount = getSalvagedAmount(inHand); final int itemID = getSalvagedItemID(inHand); - player.setItemInHand(new ItemStack(0)); + player.setItemInHand(new ItemStack(Material.AIR)); location.setY(location.getY() + 1); Misc.dropItem(location, new ItemStack(itemID, salvagedAmount)); player.sendMessage(LocaleLoader.getString("Repair.Skills.SalvageSuccess"));