Skip to content

Commit

Permalink
use ObjectArrayList
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Jul 26, 2024
1 parent 3bdf62b commit 4516294
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
import org.jetbrains.annotations.NotNull;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -93,7 +92,7 @@ public void determineOrderedFluidOutputs() {
}
MetaTileEntityMultiblockPart part = fluidExportParts.get(exportIndex);
if (part.getPos().getY() == y) {
List<IFluidTank> hatchTanks = new ArrayList<>();
List<IFluidTank> hatchTanks = new ObjectArrayList<>();
// noinspection unchecked
((IMultiblockAbilityPart<IFluidTank>) part)
.registerAbilities(MultiblockAbility.EXPORT_FLUIDS, hatchTanks);
Expand Down

0 comments on commit 4516294

Please sign in to comment.