Caedilla / RSA

Raeli's Spell Announcer. Easy spell announcements
9 stars 7 forks source link

[Bug]: Monitor.lua nil value error #12

Closed francisalbar closed 1 year ago

francisalbar commented 1 year ago

Description

Message: Interface/AddOns/RSA/Tools/Monitor.lua:395: attempt to index local 'currentSpell' (a nil value)

RSA Version

RSA 5.9.0-alpha

World of Warcraft Flavor

Dragonflight

Lua Error

Message: Interface/AddOns/RSA/Tools/Monitor.lua:395: attempt to index local 'currentSpell' (a nil value) Time: Wed Dec 14 09:30:58 2022 Count: 5 Stack: Interface/AddOns/RSA/Tools/Monitor.lua:395: attempt to index local 'currentSpell' (a nil value) [string "=[tsm error check]"]:1: in main chunk

[string "@Interface/AddOns/RSA/Tools/Monitor.lua"]:395: in function <Interface/AddOns/RSA/Tools/Monitor.lua:363>

Locals:

Reproduction Steps

Loading 5.9.0-alpha

Screenshots

No response

francisalbar commented 1 year ago

Adding if currentSpell then block before Monitor.lua:395 seems to fix

Caedilla commented 1 year ago

Fixed in 5.9.1