Bagnon

Bagnon

127M Downloads

Error in wow 3.4.1 with Bagnon 10.0.16

Knakriktsur opened this issue ยท 1 comments

commented

WOW 3.4.1
Bagnon 10.0.16

Was doing juwe daylie, killed some npc, went to dala, viewed error log.
Is this ItemRack only or combination with BagBrother?

Errors:

12x ItemRack/ItemRack.lua:601: attempt to call global 'GetContainerItemLink' (a nil value)
[string "@ItemRack/ItemRack.lua"]:601: in function GetID' [string "@ItemRack/ItemRack.lua"]:412: in function <ItemRack/ItemRack.lua:411> [string "=[C]"]: in function SetBagItem'
[string "@FrameXML/ContainerFrame_Shared.lua"]:1362: in function ContainerFrameItemButton_OnEnter' [string "@BagBrother/addons/core/classes/item.lua"]:359: in function ShowTooltip'
[string "@BagBrother/addons/core/classes/item.lua"]:186: in function <...rfaceBagBrother/addons/core/classes/item.lua:182>

Locals:
bag = 0
slot = 1
itemLink = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = 1
(*temporary) = "attempt to call global 'GetContainerItemLink' (a nil value)"

commented

not a bagnon issue. issue is with ItemRack. add this at the top of ItemRack.lua

local GetContainerItemLink = C_Container.GetContainerItemLink

save and reload. might fix it but there might be other outdated function calls since a number of bag-related functions got moved to the C_Container table