Migrated GetSpellInfo to C_Spell.GetSpellInfo and IsPlayerSpell
C_Spell.getSpellInfo always returns a result even if the spell is not known by the player so I've switched to using IsPlayerSpell instead.
The addon now runs error free in both 11.0.0 and Classic version of the client. Sadly C_Spell.GetSpellInfo isn't present in 10.2.7 so this change isn't backwards compatible with the current live version of the modern client (tho it could be made to be so if we want to).
C_Spell.getSpellInfo always returns a result even if the spell is not known by the player so I've switched to using IsPlayerSpell instead.
The addon now runs error free in both 11.0.0 and Classic version of the client. Sadly C_Spell.GetSpellInfo isn't present in 10.2.7 so this change isn't backwards compatible with the current live version of the modern client (tho it could be made to be so if we want to).