From 9b8c113561ffe95cf06b3bb47db8b905c9f57b98 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 29 Jun 2020 21:36:59 +0200 Subject: [PATCH] actionbar: skip macro scan on special actionbars --- modules/actionbar.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 99939225..bad5097a 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -337,10 +337,11 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () end local function ButtonMacroScan(self) + if self.bar > 10 then return end + local macro = GetActionText(self.id) self.spellslot = nil self.booktype = nil - if macro then local name, body, _ for slot = 1, 36 do