Skip to content

Commit

Permalink
Fix rangefilter (maybe).
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili committed Jul 24, 2024
1 parent 80ca7f4 commit fc1586d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Classes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,12 @@ local HekiliSpecMixin = {
if a.rangeSpell and type( a.rangeSpell ) == "number" then
Hekili:ContinueOnSpellLoad( a.rangeSpell, function( success )
if success then
a.rangeSpell = GetSpellInfo( a.rangeSpell )
info = GetSpellInfo( a.rangeSpell )
if info then
a.rangeSpell = info.name
else
a.rangeSpell = nil
end
else
a.rangeSpell = nil
end
Expand Down

0 comments on commit fc1586d

Please sign in to comment.