From c72c61c133885b1075cb46e6039a53d0826dfae1 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 7 May 2022 14:35:31 +0200 Subject: [PATCH] actionbar: search for valid macro spell continue the spell search inside macros, till a valid and existing spell has been found. --- modules/actionbar.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 3ad7844c..973e6581 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -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