From 3d960dfa40de71901b805c23da9b536b9de35327 Mon Sep 17 00:00:00 2001 From: Daniel Mendes <70096037+Steelux8@users.noreply.github.com> Date: Mon, 5 Aug 2024 22:27:11 +0100 Subject: Fix LFTR Running, Stocking and Maintenance Hatches (#2835) * Fix LFTR EU output and stocking hatch exploit - Change value used in processingLogic from the outdated mSpecialValue to the new metadata; - Change input fluids reference to actually drain fluids when using stocking hatches. * Change maintenance hatch checks - Removed requirement for the useless maintenance hatches, since the multi doesn't have maintenance problems * Finish tooltip change * Spotless apply --- .../multi/production/GregtechMTE_NuclearReactor.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main') diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java index a85b3a1c3f..cdb3ec58cb 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMTE_NuclearReactor.java @@ -9,6 +9,7 @@ import static gregtech.api.enums.GT_HatchElement.InputHatch; import static gregtech.api.enums.GT_HatchElement.Maintenance; import static gregtech.api.enums.GT_HatchElement.Muffler; import static gregtech.api.enums.GT_HatchElement.OutputHatch; +import static gregtech.api.util.GT_RecipeConstants.LFTR_OUTPUT_POWER; import static gregtech.api.util.GT_StructureUtility.buildHatchAdder; import static gregtech.api.util.GT_StructureUtility.filterByMTETier; @@ -105,12 +106,11 @@ public class GregtechMTE_NuclearReactor extends GregtechMeta_MultiBlockBase= 27) { if ((mOutputHatches.size() >= 3 || canDumpFluidToME()) && mInputHatches.size() >= 1 && mDynamoHatches.size() == 4 - && mMufflerHatches.size() == 4 - && mMaintenanceHatches.size() == 2) { + && mMufflerHatches.size() == 4) { this.turnCasingActive(false); return true; } @@ -355,7 +354,8 @@ public class GregtechMTE_NuclearReactor extends GregtechMeta_MultiBlockBase