fix npe from eio conduit

This commit is contained in:
GlodBlock committed 2022-05-28 17:36:00 +08:00
1 parent 33823e3546
commit 0bc3e5b9a5
1 file changed
+1 -1
@@ -105,7 +105,7 @@ public class FluidConvertingInventoryAdaptor extends InventoryAdaptor {
@Override
public boolean containsItems() {
if (invFluids != null) {
if (invFluids != null && invFluids.getTankInfo(side) != null) {
for (FluidTankInfo tank : invFluids.getTankInfo(side)) {
FluidStack fluid = tank.fluid;
if (fluid != null && fluid.amount > 0) {