Skip to content

Commit

Permalink
Fix Minor Bug to not reset progress if the recipe items are there
Browse files Browse the repository at this point in the history
  • Loading branch information
RoboXGamer committed Nov 6, 2024
1 parent 95bc63a commit acb6607
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ public static class DiskAssemblerSlot {
@Override
protected void onContentsChanged(int slot) {
if (slot < 7) {
resetProgress();
setIsValidRecipe(checkRecipe());
boolean isValidRecipe = checkRecipe();
if (!isValidRecipe) resetProgress();
setIsValidRecipe(isValidRecipe);
}
setChanged();
}
Expand Down

0 comments on commit acb6607

Please sign in to comment.