Quick fix for another ItemStack null check (#3426)
This commit is contained in:
parent
45aa74454b
commit
059605e352
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue