Skip to content

Commit

Permalink
Set mode in early return
Browse files Browse the repository at this point in the history
  • Loading branch information
FourIsTheNumber committed Jan 21, 2025
1 parent e14ef50 commit d6beb6c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -551,6 +551,7 @@ protected Stream<GTRecipe> findRecipeMatches(@Nullable RecipeMap<?> map) {
int mode = getModeFromCircuit(inputItems);

if (mode == -1) {
lastMode = -1;
return Stream.empty();
}
if (!(mode == lastMode)) {

0 comments on commit d6beb6c

Please sign in to comment.