Bagnon ItemLevel

Bagnon ItemLevel

6M Downloads

bug

Addonman opened this issue ยท 3 comments

commented

Count: 1
Message: Usage: local data = C_TooltipInfo.GetBagItem(bagIndex, slotIndex)

commented

After most recent Bagnon update 10.0.11

50x Usage: local data = C_TooltipInfo.GetBagItem(bagIndex, slotIndex)
[string "=[C]"]: in function `GetBagItem'
[string "@Bagnon_ItemLevel/main.lua"]:92: in function `update'
[string "@Bagnon_BoE/dispatcher.lua"]:76: in function <Bagnon_BoE/dispatcher.lua:74>
[string "=[C]"]: in function `Update'
[string "@BagBrother/addons/core/classes/item.lua"]:128: in function <...rfaceBagBrother/addons/core/classes/item.lua:123>
[string "=[C]"]: in function `Show'
[string "@BagBrother/addons/core/classes/item.lua"]:42: in function <...rfaceBagBrother/addons/core/classes/item.lua:34>
[string "=(tail call)"]: ?
[string "@BagBrother/addons/core/classes/itemGroup.lua"]:124: in function `func'
[string "@BagBrother/libs/MutexDelay-1.0-2/MutexDelay-1.0.lua"]:36: in function <...ns/BagBrother/libs/MutexDelay-1.0/MutexDelay-1.0.lua:30>

Locals:
(*temporary) = "Usage: local data = C_TooltipInfo.GetBagItem(bagIndex, slotIndex)"

commented

I locally fixed this by changing line 92 in main.lua
from:
local tooltipData = C_TooltipInfo.GetBagItem(self.bag, self:GetID())
to:
local tooltipData = C_TooltipInfo.GetBagItem(self:GetBag(), self:GetID())

Not sure if there is a better fix, was just poking around ๐Ÿ˜„

commented

Yeah both BoE and iLvL are broken rn.