CraftSim

CraftSim

2M Downloads

LUA error on crafting finish

hollo6 opened this issue ยท 1 comments

commented

When crafting some items (I guess ones that have no quality), upon finishing the craft, for all professions:

5x ...aceCraftSim/Data/Classes/CraftResultItem.lua:23: attempt to concatenate field 'qualityID' (a nil value)
[string "@CraftSim/Data/Classes/CraftResultItem.lua"]:23: in function Debug' [string "@CraftSim/Data/Classes/CraftResult.lua"]:100: in function <CraftSim/Data/Classes/CraftResult.lua:99> [string "=[C]"]: in function foreach'
[string "@CraftSim/Data/Classes/CraftResult.lua"]:99: in function Debug' [string "@CraftSim/Util/Util.lua"]:294: in function PrintTable'
[string "@CraftSim/Util/Debug.lua"]:131: in function print' [string "@CraftSim/Util/Util.lua"]:13: in function <CraftSim/Util/Util.lua:11> [string "@CraftSim/Modules/CraftResults/CraftResults.lua"]:215: in function processCraftResults'
[string "@CraftSim/Modules/CraftResults/CraftResults.lua"]:42: in function <...ddOns/CraftSim/Modules/CraftResults/CraftResults.lua:41>

Locals:
self =

{
quantity = 1
item =
{
}
quantityMulticraft = 0
}
(*temporary) =
{
}
(*temporary) = "Q"
(*temporary) = nil
(*temporary) = " |cff0070dd|Hitem:197377::::::::70:252::13::2:28:2164:40:704:::::|h[Renewed Proto-Drake: Bovine Horns]|h|r x 1"
(*temporary) = "|cff0070dd|Hitem:197377::::::::70:252::13::2:28:2164:40:704:::::|h[Renewed Proto-Drake: Bovine Horns]|h|r"
(*temporary) = " x "
(*temporary) = "1"
(*temporary) = 0
(*temporary) = "attempt to concatenate field 'qualityID' (a nil value)"

commented

should be fixed in 7.3+