also shrink the fluid skiplist if the tanks change sizes
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user