From f0dbaa8483a5c5f14ff982b8c249016b52259f74 Mon Sep 17 00:00:00 2001 From: Ghzdude <44148655+ghzdude@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:00:28 -0700 Subject: [PATCH] spotless --- .../multi/multiblockpart/MetaTileEntityFluidHatch.java | 10 ++++++---- .../multiblockpart/MetaTileEntityMultiFluidHatch.java | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityFluidHatch.java b/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityFluidHatch.java index e1010314e63..731649d60a3 100644 --- a/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityFluidHatch.java +++ b/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityFluidHatch.java @@ -62,7 +62,7 @@ public class MetaTileEntityFluidHatch extends MetaTileEntityMultiblockNotifiablePart implements IMultiblockAbilityPart, IControllable, - IGhostSlotConfigurable { + IGhostSlotConfigurable { private static final int INITIAL_INVENTORY_SIZE = 8000; @@ -256,7 +256,7 @@ public MultiblockAbility getAbility() { @Override public @NotNull List> getAbilities() { return isExportHatch ? - Collections.singletonList(MultiblockAbility.EXPORT_FLUIDS): + Collections.singletonList(MultiblockAbility.EXPORT_FLUIDS) : Arrays.asList(MultiblockAbility.IMPORT_FLUIDS, MultiblockAbility.IMPORT_ITEMS); } @@ -321,8 +321,10 @@ public ModularUI.Builder createTankUI(IFluidTank fluidTank, String title, Entity .setBackgroundTexture(GuiTextures.SLOT, GuiTextures.INT_CIRCUIT_OVERLAY); builder.widget(circuitSlot.setConsumer(slotWidget -> { String configString; - if (circuitInventory == null || circuitInventory.getCircuitValue() == GhostCircuitItemStackHandler.NO_CONFIG) { - configString = new TextComponentTranslation("gregtech.gui.configurator_slot.no_value").getFormattedText(); + if (circuitInventory == null || + circuitInventory.getCircuitValue() == GhostCircuitItemStackHandler.NO_CONFIG) { + configString = new TextComponentTranslation("gregtech.gui.configurator_slot.no_value") + .getFormattedText(); } else { configString = String.valueOf(circuitInventory.getCircuitValue()); } diff --git a/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityMultiFluidHatch.java b/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityMultiFluidHatch.java index e70a12eb53a..0dbeeb822aa 100644 --- a/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityMultiFluidHatch.java +++ b/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityMultiFluidHatch.java @@ -34,7 +34,6 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import java.util.Collections; import java.util.List; public class MetaTileEntityMultiFluidHatch extends MetaTileEntityMultiblockNotifiablePart