Draper1 / MythicDungeonPortals

WoW Addon for Mythic Dungeon Portals
MIT License
4 stars 4 forks source link

11.0.2 - LUA error #20

Closed Andf closed 2 months ago

Andf commented 2 months ago

Hello!

Receving this error after today's patch:

1x MythicDungeonPortals/MythicDungeonPortals.lua:58: attempt to call global 'GetSpellTexture' (a nil value) [string "@MythicDungeonPortals/MythicDungeonPortals.lua"]:58: in function <MythicDungeonPortals/MythicDungeonPortals.lua:35> [string "@MythicDungeonPortals/MythicDungeonPortals.lua"]:141: in function <MythicDungeonPortals/MythicDungeonPortals.lua:125> [string "@MythicDungeonPortals/MythicDungeonPortals.lua"]:167: in function <MythicDungeonPortals/MythicDungeonPortals.lua:163> [string "@MythicDungeonPortals/MythicDungeonPortals.lua"]:193: in function <MythicDungeonPortals/MythicDungeonPortals.lua:184>

Locals: tabFrame = TabFrame { } mapIDs =

{ 1 = 399 2 = 400 3 = 401 4 = 402 5 = 403 6 = 404 7 = 405 8 = 406 } buttonSize = 40 padding = 5 numColumns = 1 topPadding = 35 leftPadding = 20 textOffset = 5 (for state) =
{ 1 = 399 2 = 400 3 = 401 4 = 402 5 = 403 6 = 404 7 = 405 8 = 406 } (for control) = 1 index = 1 mapID = 399 spellID = 393256 dungeonName = "Ruby Life Pools" button = Button { } row = 0 col = 0 icon = Texture { } (temporary) = nil (temporary) = 393256 (*temporary) = "attempt to call global 'GetSpellTexture' (a nil value)" constants =
{ iconPath = "Interface\Icons\Achievement_ChallengeMode_Gold" orderedExpansions =
{ } mapIDtoSpellID =
{ } myIdToExpansion =
{ } mapExpansionToBackground =
{ } mapIDtoDungeonName =
{ } mapExpansionToMapID =
{ } }

Draper1 commented 2 months ago

Looking into this today

Draper1 commented 2 months ago

Fixed in #21

Andf commented 2 months ago

Thanks for the quick fix!