Skip to content

Commit

Permalink
Clean craft container on invalid recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaver-DaRed committed Sep 4, 2024
1 parent 38e60f3 commit 2abe6f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/map/utils/synthutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,6 +828,8 @@ namespace synthutils

if (!isRightRecipe(PChar))
{
PChar->CraftContainer->Clean();

return 0;
}

Expand Down

0 comments on commit 2abe6f7

Please sign in to comment.