Justw8 / NameplateSCT

Add Personal SCT to NameplateSCT
MIT License
22 stars 20 forks source link

Lua error #39

Closed BlueNightSky closed 4 months ago

BlueNightSky commented 4 months ago

10x NameplateSCT/NameplateSCT.lua:1012: bad argument #1 to 'GetSpellTexture' (Usage: local iconID, originalIconID = C_Spell.GetSpellTexture(spellIdentifier))

[string "@NameplateSCT/NameplateSCT.lua"]:1012: in function DisplayText' [string "@NameplateSCT/NameplateSCT.lua"]:974: in functionMissEvent' [string "@NameplateSCT/NameplateSCT.lua"]:771: in function <NameplateSCT/NameplateSCT.lua:730>

[string "@!Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ns/!Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>

[string "@!Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ns/!Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@!Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@!Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <!Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (*temporary) = nil

Justw8 commented 4 months ago

I've added a fallback to avoid this, not sure what the cause is as I would like to know the event as well. Let me know incase some spell does not show up.