From ecbcba0e381bbe2dd9a60c312bbdbd4a322dfe90 Mon Sep 17 00:00:00 2001 From: reobf <117543727+reobf@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:51:44 +0800 Subject: [PATCH] Fix Purification Unit not consuming fluid in Stocking Input Hatch(ME). (#3263) --- .../machines/multi/purification/MTEPurificationUnitBase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java b/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java index ac316f7678d..9584f865f27 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationUnitBase.java @@ -357,6 +357,7 @@ public void depleteRecipeInputs() { * @param progressTime Current progress time */ public void startCycle(int cycleTime, int progressTime) { + startRecipeProcessing(); // Important to calculate this before depleting inputs, otherwise we may get issues with boost items // disappearing. this.currentRecipeChance = this.calculateBoostedSuccessChance(); @@ -390,6 +391,7 @@ public void startCycle(int cycleTime, int progressTime) { // specifically overridden so setting this value does not actually drain power. // Instead, power is drained by the main purification plant controller. this.lEUt = -this.getActualPowerUsage(); + endRecipeProcessing(); } public void addRecipeOutputs() {