actionbar: search for valid macro spell

continue the spell search inside macros, till
a valid and existing spell has been found.
This commit is contained in:
shagu
2022-05-07 14:35:31 +02:00
parent 0b19fada60
commit c72c61c133
+2 -1
View File
@@ -427,7 +427,8 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
local _, _, spell, rank = string.find(match, '(.+)%((.+)%)')
spell = spell or match
self.spellslot, self.booktype = libspell.GetSpellIndex(spell, rank)
return
if self.spellslot and self.spellslot > 0 then return end
end
end
end