From ab0928b7153db215574f755b84d7c89d6304c1c5 Mon Sep 17 00:00:00 2001 From: miozune Date: Mon, 9 Oct 2023 17:27:34 +0900 Subject: Fix insufficient power result not being persisted (#2328) --- src/main/java/gregtech/api/util/GT_ParallelHelper.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/gregtech/api/util') diff --git a/src/main/java/gregtech/api/util/GT_ParallelHelper.java b/src/main/java/gregtech/api/util/GT_ParallelHelper.java index 13fe6290f3..8430f28fa0 100644 --- a/src/main/java/gregtech/api/util/GT_ParallelHelper.java +++ b/src/main/java/gregtech/api/util/GT_ParallelHelper.java @@ -405,6 +405,7 @@ public class GT_ParallelHelper { final int tRecipeEUt = (int) Math.ceil(recipe.mEUt * eutModifier); if (availableEUt < tRecipeEUt) { result = CheckRecipeResultRegistry.insufficientPower(tRecipeEUt); + return; } // Save the original max parallel before calculating our overclocking under 1 tick -- cgit