From cdcb9475325e0aec73ffc0138ef7110231b9eec9 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Tue, 8 Mar 2011 21:52:17 +0000 Subject: [PATCH] Fixed the fix of the inventory dupe bug --- src/main/java/net/minecraft/server/EntityPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 28756e98c0..cef0981eb4 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -101,7 +101,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting { for (int i = 0; i < inventory.b.length; ++i) { if (inventory.b[i] != null) { loot.add(new CraftItemStack(inventory.b[i])); - inventory.a[i] = null; + inventory.b[i] = null; } }