Skip to content

Commit 45375db

Browse files
committed
hotfix
1 parent 934890c commit 45375db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CraftSim.toc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Title: CraftSim
55
## Notes: Calculates the average profit based on your profession stats and other tools for the war within gold making
66
## Author: genju
7-
## Version: 19.1.0
7+
## Version: 19.1.0.1
88
## X-Curse-Project-ID: 705015
99
## X-Wago-ID: 0mNwaPKo
1010
## X-WoWI-ID: 26519

Modules/RecipeScan/RecipeScan.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ function CraftSim.RECIPE_SCAN:ScanRow(row)
350350
if optimizationScanMode then
351351
recipeData:OptimizeReagents {
352352
highestProfit = optimizeTopProfit,
353-
maxQuality = math.max(recipeData.maxQuality, 1),
353+
maxQuality = math.max(recipeData.maxQuality or 1, 1)
354354
}
355355
else
356356
CraftSim.RECIPE_SCAN:SetReagentsByScanMode(recipeData)

0 commit comments

Comments
 (0)