actionbar: skip macro scan on special actionbars

This commit is contained in:
shagu
2020-06-29 21:36:59 +02:00
parent 9f2836be8b
commit 9b8c113561
+2 -1
View File
@@ -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