[Recipe Scan] Sub recipe optimization error
berickus opened this issue ยท 0 comments
Describe the bug
This is on a maxed jeweler.
After Auctionator full scan, go to CraftSim.
When enabling sub recipe optimization, there is an immediate error about nil number format
To Reproduce
Steps to reproduce the behavior:
- Go to Recipe Scan
- Click on enable optimize sub recipes
- Click Scan Recipes
Expected behavior
Scan works without errors.
Addon Version: [e.g. 19.7.1]
19.7.2
Additional context
Message: Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:528: bad argument #1 to 'format' (number expected, got nil)
Time: Mon Dec 9 14:31:16 2024
Count: 1
Stack: Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:528: bad argument #1 to 'format' (number expected, got nil)
[string "=[C]"]: in function format' [string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:528: in function
Round'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:471: in function <Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:470>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/CraftSim/Classes/RecipeData.lua"]:1859: in function OptimizeSubRecipes' [string "@Interface/AddOns/CraftSim/Classes/RecipeData.lua"]:1291: in function
continue'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:1177: in function <Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua:1176>
Locals: (*temporary) = "%.0f"
(*temporary) = nil
(*temporary) = "number expected, got nil"