Skip to content

Commit

Permalink
Fix a crash when quick-crafting from alternative recipe slots
Browse files Browse the repository at this point in the history
  • Loading branch information
NotRyken committed Nov 6, 2024
1 parent 60c5d1a commit 1eb0818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ private void onMouseClicked(double mouseX, double mouseY, int button,
do {
if (!iter.hasNext()) {
cir.setReturnValue(false);
return; // Crash prevention
}

overlayButton = iter.next();
} while(!overlayButton.mouseClicked(mouseX, mouseY, 0));

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Neo/Forge version ranges: https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html

# Project
mod_version=1.0.0+1.21-alpha.3
mod_version=1.0.0+1.21-alpha.4
mod_group=dev.terminalmc
mod_id=moremousetweaks
mod_id_alt=mmt
Expand Down

0 comments on commit 1eb0818

Please sign in to comment.