Quick fix for another ItemStack null check (#3426)

This commit is contained in:
Ben Staddon authored and LexManos committed 2016-11-27 01:49:06 -08:00
1 parent 45aa74454b
commit 059605e352
1 file changed
+2 -2
@@ -63,7 +63,7 @@ public class SlotItemHandler extends Slot
{
remainder = handler.insertItem(index, stack, true);
}
return remainder == null || remainder.func_190916_E() < stack.func_190916_E();
return remainder.func_190926_b() || remainder.func_190916_E() < stack.func_190916_E();
}
@Override
@@ -140,4 +140,4 @@ public class SlotItemHandler extends Slot
{
return other instanceof SlotItemHandler && ((SlotItemHandler) other).getItemHandler() == this.itemHandler;
}
}
}