TipTac Reborn

TipTac Reborn

1M Downloads

LUA error if displaying class icon

frozn opened this issue ยท 1 comments

commented
Message: Interface\AddOns\TipTac\ttIcons.lua:38: bad argument #1 to 'unpack' (table expected, got nil)
Time: Mon Oct 10 20:29:18 2022
Count: 1
Stack: Interface\AddOns\TipTac\ttIcons.lua:38: bad argument #1 to 'unpack' (table expected, got nil)
[string "=[C]"]: ?
[string "=[C]"]: in function `unpack'
[string "@Interface\AddOns\TipTac\ttIcons.lua"]:38: in function `SetIcon'
[string "@Interface\AddOns\TipTac\ttIcons.lua"]:71: in function `?'
[string "@Interface\AddOns\TipTac\ttCore.lua"]:362: in function `SendElementEvent'
[string "@Interface\AddOns\TipTac\ttCore.lua"]:1202: in function `ApplyUnitAppearance'
[string "@Interface\AddOns\TipTac\ttCore.lua"]:1386: in function <Interface\AddOns\TipTac\ttCore.lua:1345>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `SetUnit'
[string "@Interface\FrameXML\UnitFrame.lua"]:462: in function `UnitFrame_UpdateTooltip'
[string "@Interface\FrameXML\UnitFrame.lua"]:452: in function <Interface\FrameXML\UnitFrame.lua:451>

Locals:

Q: Which class are you playing? And which WoW flavor (SL, WotLKC, Vanilla)?
A: Hi, I play Shadowlands and a Nightelf-Druid(60).

see https://www.curseforge.com/wow/addons/tip-tac?comment=3315

commented

Prevented the lua error if displaying class icon and class couldn't be properly determined. Fixed in release v22.10.14.