From 702368e0cb3f2bb85c4ec75ba8fd9fb85e2c7e83 Mon Sep 17 00:00:00 2001 From: Maxim Date: Fri, 19 Aug 2022 13:56:36 +0200 Subject: Use the same check as in multiblock base to check the structure (#71) * Use the same check as in multiblock base to check the structure * Applied spotless --- .../blocks/tileEntity/base/LargeFusionComputer.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/main/java/goodgenerator/blocks') diff --git a/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java b/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java index 303fc3947d..3fb388822d 100644 --- a/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java +++ b/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputer.java @@ -218,7 +218,14 @@ public abstract class LargeFusionComputer extends GT_MetaTileEntity_TooltipMulti this.mEUStore = (int) aBaseMetaTileEntity.getStoredEU(); checkRecipe(mInventory[1]); } - if (--mUpdate == 0 || --mStartUpCheck == 0) { + if (mUpdated) { + mUpdate = 50; + mUpdated = false; + } + if (--mUpdate == 0 + || --mStartUpCheck == 0 + || cyclicUpdate_EM() + || aBaseMetaTileEntity.hasWorkJustBeenEnabled()) { checkStructure(true, aBaseMetaTileEntity); } if (mStartUpCheck < 0) { -- cgit