diff --git a/modules/actionbar.lua b/modules/actionbar.lua index f1084ad3..8130c3ba 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -1135,6 +1135,10 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () -- update to the current page bars[1]:SetAttribute("state", bars[1]:GetAttribute("state-page")) + + -- set state driver for pet bars + bars[12]:SetAttribute("unit", "pet") + RegisterStateDriver(bars[12], 'visibility', "[pet] show; hide") end -- handle drag-drop grid