View Single Post
09-03-14, 03:44 AM   #24
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210
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?
  Reply With Quote