Skip to content

Commit

Permalink
also shrink the fluid skiplist if the tanks change sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
PrototypeTrousers committed Feb 24, 2021
1 parent a65b3d2 commit 892c919
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/appeng/fluids/parts/FluidHandlerAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ public List<IAEFluidStack> update()
}

this.cachedAeStacks = Arrays.copyOf( this.cachedAeStacks, slots );
this.skipSlots = new ArrayList<>( this.fluidHandler.getTankProperties().length );
}
return changes;
}
Expand Down

0 comments on commit 892c919

Please sign in to comment.