Skip to content

Commit

Permalink
fix vanilla recipe reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ferriarnus committed Mar 9, 2024
1 parent 88fc68b commit d7fb79d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected boolean shouldStartNewTask() {

// If recipe has changed
var currentRecipe = findRecipe();
return currentRecipe.map(r -> !r.equals(getCurrentTask().getRecipe())).orElse(true);
return currentRecipe.map(r -> !r.value().equals(getCurrentTask().getRecipe())).orElse(true);
}

// endregion
Expand Down

0 comments on commit d7fb79d

Please sign in to comment.