File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/gregtech/api/metatileentity/multiblock Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,8 @@ private void resetTileAbilities() {
140140
141141 protected IMultipleTankHandler createFluidList (MultiblockAbility <IItemHandlerModifiable > items ,
142142 MultiblockAbility <IFluidTank > fluids ) {
143- List <IFluidTank > tanks = new ArrayList <>(getAbilities (fluids ));
143+ var tanks = new AbilityInstances (fluids );
144+ tanks .addAll (getAbilities (fluids ));
144145 for (var handler : getAbilities (items )) {
145146 if (handler instanceof IFluidTank tank ) {
146147 tanks .add (tank );
@@ -149,7 +150,7 @@ protected IMultipleTankHandler createFluidList(MultiblockAbility<IItemHandlerMod
149150 }
150151 }
151152
152- return new FluidTankList (allowSameFluidFillForOutputs (), tanks );
153+ return new FluidTankList (allowSameFluidFillForOutputs (), tanks . cast () );
153154 }
154155
155156 protected boolean allowSameFluidFillForOutputs () {
You can’t perform that action at this time.
0 commit comments