From c840a70175cbdaced87def04e6b97f2f497ac096 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 6 May 2021 10:05:21 +0200 Subject: [PATCH] actionbar: avoid adding updates to invalid bars --- modules/actionbar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 60d8f8a3..ae6771b2 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -707,7 +707,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () -- handle aura events if aura_events[event] then for j=1,12 do - if self[11][j] then + if self[11] and self[11][j] then updatecache[self[11][j].slot] = true end end @@ -717,7 +717,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () -- handle pet events if pet_events[event] then for j=1,12 do - if self[12][j] then + if self[12] and self[12][j] then updatecache[self[12][j].slot] = true end end