Skip to content

Commit

Permalink
11.0.2 API removal of C_Spell.GetSpellTexture
Browse files Browse the repository at this point in the history
  • Loading branch information
Wutname1 committed Aug 14, 2024
1 parent 5695902 commit ad7cc41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/oUF_Plugins/oUF_AuraWatch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ local VISIBLE = 1
local HIDDEN = 0

local min, wipe, pairs, tinsert = min, wipe, pairs, tinsert
local GetSpellTexture = GetSpellTexture
local CreateFrame = CreateFrame
local UnitIsUnit = UnitIsUnit

Expand Down Expand Up @@ -141,7 +140,7 @@ local function postOnlyMissing(element, unit, offset)

button.spellID = spellID

local icon = GetSpellTexture(spellID)
local icon = C_Spell.GetSpellTexture(spellID)
handleElements(element, unit, button, setting, icon)

if element.PostUpdateIcon then element:PostUpdateIcon(unit, button, nil, position) end
Expand Down

0 comments on commit ad7cc41

Please sign in to comment.