Skip to content

Commit 18c5e9f

Browse files
authored
Fix Machine power failing (#3680)
1 parent 72d6cc8 commit 18c5e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/gregtechceu/gtceu/api/machine/trait/RecipeLogic.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,13 +271,13 @@ public void handleRecipeWorking() {
271271
setWaiting(handleTick.reason());
272272

273273
// Machine isn't getting enough power, suspend after 5 attempts.
274-
if (conditionResult.io() == IO.IN && conditionResult.capability() == EURecipeCapability.CAP) {
274+
if (handleTick.io() == IO.IN && handleTick.capability() == EURecipeCapability.CAP) {
275275
runAttempt++;
276276
if (runAttempt > 5) {
277277
runAttempt = 0;
278278
setStatus(Status.SUSPEND);
279279
}
280-
runDelay = runAttempt * 10;
280+
runDelay = runAttempt * 60;
281281
}
282282
}
283283
} else {

0 commit comments

Comments
 (0)