tukui-org / Tukui

Tukui - Live branch is Dragonflight, Wrath and Classic Era
https://tukui.org
47 stars 29 forks source link

ALT_MANA_BAR_PAIR_DISPLAY_INFO returns nil #111

Closed pedrozc90 closed 1 year ago

pedrozc90 commented 1 year ago

Lua Error

Message: Interface/SharedXML/TableUtil.lua:238: bad argument #1 to 'pairs' (table expected, got nil)
Time: Thu Jul 13 00:01:12 2023
Count: 1
Stack: Interface/SharedXML/TableUtil.lua:238: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@Interface/SharedXML/TableUtil.lua"]:238: in function `CopyTable'
[string "@Interface/AddOns/Tukui/Libs/oUF_Retail/elements/additionalpower.lua"]:275: in function `enable'
[string "@Interface/AddOns/Tukui/Libs/oUF_Retail/ouf.lua"]:101: in function `EnableElement'
[string "@Interface/AddOns/Tukui/Libs/oUF_Retail/ouf.lua"]:343: in function <Interface/AddOns/Tukui/Libs/oUF_Retail/ouf.lua:259>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Tukui/Libs/oUF_Retail/ouf.lua"]:737: in function `Spawn'
[string "@Interface/AddOns/Tukui/Modules/UnitFrames/Core.lua"]:949: in function `CreateUnits'
[string "@Interface/AddOns/Tukui/Modules/UnitFrames/Core.lua"]:1179: in function `Enable'
[string "@Interface/AddOns/Tukui/Core/Loading.lua"]:263: in function <Interface/AddOns/Tukui/Core/Loading.lua:241>

Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
 = <function> defined =[C]:-1

Based on original oUF repository, they fixed by replacing ALT_MANA_BAR_PAIR_DISPLAY_INFO with ALT_POWER_BAR_PAIR_DISPLAY_INFO