Songbird: Songflower Timers

Songbird: Songflower Timers

17.3k Downloads

Script Error

kolbyb opened this issue ยท 0 comments

commented

There's a script error with the RecvTimers function

Message: Interface\AddOns\Songbird\Songbird.lua:136: attempt to compare two table values
Time: Tue Apr 21 20:25:29 2020
Count: 2
Stack: Interface\AddOns\Songbird\Songbird.lua:136: attempt to compare two table values
(tail call): ?
Interface\AddOns\Songbird\Songbird.lua:136: in function <Interface\AddOns\Songbird\Songbird.lua:126>
[C]: ?
...ibs\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:29: in function <...ibs\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
...ibs\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: in function 'Fire'
...s\LibThreatClassic2\Libs\AceComm-3.0\AceComm-3.0.lua:264: in function <...s\LibThreatClassic2\Libs\AceComm-3.0\AceComm-3.0.lua:246>

Locals: <none>

I've resolved this issue locally by changing line 136 to check if timer is a table, like so

if timer ~= false and SongbirdDB[key] ~= false and SongbirdDB[key] ~= nil and type(timer) ~= "table" then