Hey folks!
Currently, I keep getting the following error when opening Soulbind Forge.
Lua Code:
FrameXML\ItemUtil.lua:66: attempt to compare number with nil
Count: 1
Call Stack:
[string "=[C]"]: ?
[string "@FrameXML\ItemUtil.lua"]:66: in function `OpenAndFilterBags'
[string "@AddOns\Blizzard_Soulbinds\Blizzard_SoulbindsViewer.lua"]:95: in function <...dOns\Blizzard_Soulbinds\Blizzard_SoulbindsViewer.lua:85>
[string "=[C]"]: in function `Show'
[string "@FrameXML\UIParent.lua"]:2931: in function `SetUIPanel'
[string "@FrameXML\UIParent.lua"]:2753: in function `ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:2644: in function <FrameXML\UIParent.lua:2640>
[string "=[C]"]: in function `SetAttribute'
[string "@FrameXML\UIParent.lua"]:3495: in function `ShowUIPanel'
[string "@AddOns\Blizzard_Soulbinds\Blizzard_SoulbindsViewer.lua"]:197: in function `OpenSoulbind'
[string "@AddOns\Blizzard_Soulbinds\Blizzard_SoulbindsViewer.lua"]:190: in function `Open'
[string "@AddOns\Blizzard_Soulbinds\Blizzard_Soulbinds.lua"]:3: in function `?'
[string "@FrameXML\UIParent.lua"]:2257: in function <FrameXML\UIParent.lua:1288>
But it works fine with the bags and the forge, as you can see on the screenshot.
The script for the bags also contains the events to display the bags correctly when you want to add new conduits at the forge or edit your soulbind (lines 1587, 1588, 1701, 1703).
Script:
bags.lua @ DuffedUI
Most likely it will be a simple change, however I am currently stuck. The bug does not interfere or hinder the function. It is only unpleasant when a bug is present.
Maybe someone can tell me where the error is. Passing the functions Stuffing_Open and Stuffing_Close in line 1587 and 1588 to the RegisterEvent did not work.
I thank you in advance for all the input that comes.