diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java index 5c36727d22..28756e98c0 100644 --- a/src/main/java/net/minecraft/server/EntityPlayer.java +++ b/src/main/java/net/minecraft/server/EntityPlayer.java @@ -94,12 +94,14 @@ public class EntityPlayer extends EntityHuman implements ICrafting { for (int i = 0; i < inventory.a.length; ++i) { if (inventory.a[i] != null) { loot.add(new CraftItemStack(inventory.a[i])); + inventory.a[i] = null; } } 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; } }