Fixed the fix of the inventory dupe bug

This commit is contained in:
Dinnerbone 2011-03-08 21:52:17 +00:00
parent 7de9091036
commit cdcb947532

View file

@ -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;
}
}