Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
derfloh205 committed Oct 25, 2024
1 parent 934890c commit 45375db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CraftSim.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Title: CraftSim
## Notes: Calculates the average profit based on your profession stats and other tools for the war within gold making
## Author: genju
## Version: 19.1.0
## Version: 19.1.0.1
## X-Curse-Project-ID: 705015
## X-Wago-ID: 0mNwaPKo
## X-WoWI-ID: 26519
Expand Down
2 changes: 1 addition & 1 deletion Modules/RecipeScan/RecipeScan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ function CraftSim.RECIPE_SCAN:ScanRow(row)
if optimizationScanMode then
recipeData:OptimizeReagents {
highestProfit = optimizeTopProfit,
maxQuality = math.max(recipeData.maxQuality, 1),
maxQuality = math.max(recipeData.maxQuality or 1, 1)
}
else
CraftSim.RECIPE_SCAN:SetReagentsByScanMode(recipeData)
Expand Down

0 comments on commit 45375db

Please sign in to comment.