Quick fix for another ItemStack null check (#3426)

This commit is contained in:
Ben Staddon 2016-11-27 09:49:06 +00:00 committed by LexManos
parent 45aa74454b
commit 059605e352
1 changed files with 2 additions and 2 deletions

View File

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