Fix #429 Filled capsules are placed in armor slot when inventory is full

This commit is contained in:
mezz committed 2015-01-01 23:13:15 -08:00
1 parent e00d96ff08
commit 8cbb94aed0
1 file changed
+1 -1
@@ -80,7 +80,7 @@ public class ItemLiquidContainer extends Item {
private int getMatchingSlot(EntityPlayer player, ItemStack stack) {
for (int slot = 0; slot < player.inventory.getSizeInventory(); slot++) {
for (int slot = 0; slot < player.inventory.mainInventory.length; slot++) {
ItemStack slotStack = player.inventory.getStackInSlot(slot);
if (slotStack == null)