From 322c79f02237dbe3a26d5d899062e341bc103e0d Mon Sep 17 00:00:00 2001 From: pahimar Date: Fri, 26 Oct 2012 12:26:16 -0300 Subject: [PATCH] Update patches/common/net/minecraft/src/SlotCrafting.java.patch --- patches/common/net/minecraft/src/SlotCrafting.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/common/net/minecraft/src/SlotCrafting.java.patch b/patches/common/net/minecraft/src/SlotCrafting.java.patch index f4c52b373..87b0462d7 100644 --- a/patches/common/net/minecraft/src/SlotCrafting.java.patch +++ b/patches/common/net/minecraft/src/SlotCrafting.java.patch @@ -19,7 +19,7 @@ + if (var5.isItemStackDamageable() && var5.getItemDamage() > var5.getMaxDamage()) + { + MinecraftForge.EVENT_BUS.post(new PlayerDestroyItemEvent(thePlayer, var5)); -+ var4 = null; ++ var5 = null; + } - if (!var4.getItem().doesContainerItemLeaveCraftingGrid(var4) || !this.thePlayer.inventory.addItemStackToInventory(var5))