Skip to content

Commit

Permalink
Fix inconsistent craft replacements (minetest#9250) (minetest#12819)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuzzy2 authored Sep 30, 2022
1 parent 5e7ea06 commit 6eb7d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/craftdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ static void craftDecrementOrReplaceInput(CraftInput &input,
rep.deSerialize(j->second, gamedef->idef());
item.remove(1);
found_replacement = true;
pairs.erase(j);
output_replacements.push_back(rep);
break;

Expand Down

0 comments on commit 6eb7d57

Please sign in to comment.