Skip to content

Commit

Permalink
Fix baryonic perfection voiding one catalyst when recipe fails (GTNew…
Browse files Browse the repository at this point in the history
…Horizons#3455)

Co-authored-by: Martin Robertz <[email protected]>
  • Loading branch information
NotAPenguin0 and Dream-Master authored Nov 6, 2024
1 parent 52f4c27 commit 9cdd566
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public void endCycle() {
// Output incorrect indices unchanged, the spent ones will follow if recipe was successful from the actual
// recipe outputs
for (int i = 0; i < insertedCatalysts.size(); ++i) {
if (i == correctStartIndex || i == correctStartIndex + 1) continue;
if (correctStartIndex != -1 && (i == correctStartIndex || i == correctStartIndex + 1)) continue;

addOutput(insertedCatalysts.get(i));
}
Expand Down

0 comments on commit 9cdd566

Please sign in to comment.