Skip to content

Commit

Permalink
GetSpellTexture fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Sep 1, 2024
1 parent 66483bb commit dcc92fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ globals = {
"Mixin",

"GetBuildnfo",
"C_Spell",
"CreateFrame",
"IsPlayerSpell",
"GetSpellInfo",
Expand Down
2 changes: 2 additions & 0 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ local defaults = {
nameplateOffsetY = 0,
}

local GetSpellTexture = C_Spell and C_Spell.GetSpellTexture or _G.GetSpellTexture

local db

-- /script SetCVar("nameplateShowFriendlyTotems", 1)
Expand Down

0 comments on commit dcc92fd

Please sign in to comment.