Skip to content

Commit

Permalink
fix (#5390)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds authored Sep 6, 2024
1 parent 9dfba8d commit dd30d3d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions WeakAuras/Prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11137,12 +11137,6 @@ Private.event_prototypes = {
end
local ret = [=[
local spellname = %q
local spellid = select(7, Private.ExecEnv.GetSpellInfo(spellname))
local button
if spellid then
local slotList = C_ActionBar.FindSpellActionButtons(spellid)
button = slotList and slotList[1]
end
]=]
return ret:format(spellName)
end,
Expand All @@ -11157,7 +11151,7 @@ Private.event_prototypes = {
},
{
hidden = true,
test = "button and IsCurrentAction(button)";
test = "spellname and IsCurrentSpell(spellname)";
},
},
iconFunc = function(trigger)
Expand Down

0 comments on commit dd30d3d

Please sign in to comment.