View Single Post
10-17-20, 06:33 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
You might try to use the spellid instead of the name.
https://wow.gamepedia.com/API_GetSpellInfo
"Using spellName or spellLink only returns the info if the spell is in your spellbook; otherwise it returns nil."

So perhaps your spellbook is not yet available (event SPELLS_CHANGED should tell you when its loaded).
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote