rgd87 / Aptechka

WoW Addon - Raid Frames
http://www.wowinterface.com/downloads/info14339-Injector.html
33 stars 9 forks source link

LUA Error when adding new spells #54

Closed spamwax closed 3 years ago

spamwax commented 3 years ago

I am on 9.0.7. And when I try to create an Aura in Spell List I get the following error after entering the spell id and clicking save. (I tried with multiple spell ids 1044, 297412, 54149 for holy paladin)

2x SharedXML\TableUtil.lua:111: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@SharedXML\TableUtil.lua"]:111: in function `CopyTable'
[string "@Aptechka\Options\SpellList.lua"]:210: in function <Aptechka\Options\SpellList.lua:179>
[string "=[C]"]: ?
[string "@Ace3\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <Ace3\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Ace3\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@Ace3\AceGUI-3.0-41\widgets\AceGUIWidget-Button.lua"]:22: in function <...dOns\Ace3\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>

And when I use an spell id that is already in the list, it overwrites my modifications to that table and restores it to default widget (not sure if this is related to lua error or it's intended behavior.)

d87 commented 3 years ago

Fixed the error in 9.0.8