Closed Nnoggie closed 4 weeks ago
TWW AceGUIWidget-MythicDungeonToolsSpellButton
Proposed Changes: Please update the following code:
local name, _, icon = GetSpellInfo(spellId) self.icon:SetTexture(icon)
Updated Code local spellInfo = C_Spell.GetSpellInfo(spellId) self.icon:SetTexture(C_Spell.GetSpellTexture(spellId)) self.title:SetText(http://spellInfo.name)
local link = GetSpellLink(self.spellId) or ""
Updated Code local link = C_Spell.GetSpellLink(self.spellId) or ""
fixed in https://github.com/Nnoggie/MythicDungeonTools/commit/1aa3a4180b62bd0d49e8a2575b6bbe3aea101449
TWW AceGUIWidget-MythicDungeonToolsSpellButton
Proposed Changes: Please update the following code:
Original Code:
local name, _, icon = GetSpellInfo(spellId) self.icon:SetTexture(icon)
Updated Code local spellInfo = C_Spell.GetSpellInfo(spellId) self.icon:SetTexture(C_Spell.GetSpellTexture(spellId)) self.title:SetText(http://spellInfo.name)
Proposed Changes: Please update the following code:
Original Code:
local link = GetSpellLink(self.spellId) or ""
Updated Code local link = C_Spell.GetSpellLink(self.spellId) or ""