Hello, bumping this up because i'm getting a new error in the latest beta build related to this code:
Code:
1x spellactivationoverlay.lua:29: attempt to compare string with nil
Relevant code here:
https://gist.github.com/anonymous/483fc65cde3339f6ab8c
I'm assuming it's to do with the recent GetSpellInfo() change:
Originally Posted by p3lim
No changes in build 18738, but GetSpellInfo no longer returns empty strings on invalid parameters, now returns nil as intended.
|
but not sure how to modify what I have to handle that - some kind of check for if spell.name is returning nil or not somewhere?