mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Quick fix for another ItemStack null check (#3426)
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user