Skip to content

Commit

Permalink
Fix Purification Unit not consuming fluid in Stocking Input Hatch(ME). (
Browse files Browse the repository at this point in the history
  • Loading branch information
reobf committed Sep 23, 2024
1 parent 008fad9 commit ecbcba0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit ecbcba0

Please sign in to comment.