also shrink the fluid skiplist if the tanks change sizes

This commit is contained in:
Salomão
2021-02-24 18:08:57 -03:00
parent a65b3d2ceb
commit 892c919ee2
@@ -251,6 +251,7 @@ public class FluidHandlerAdapter implements IMEInventory<IAEFluidStack>, IBaseMo
} }
this.cachedAeStacks = Arrays.copyOf( this.cachedAeStacks, slots ); this.cachedAeStacks = Arrays.copyOf( this.cachedAeStacks, slots );
this.skipSlots = new ArrayList<>( this.fluidHandler.getTankProperties().length );
} }
return changes; return changes;
} }