From 25b6926d86d7fd97a33c74cb849849f96d347620 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 30 Mar 2020 17:51:44 +0200 Subject: [PATCH] actionbar: click pet button to avoid macro updates --- modules/actionbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 9d64d172..20b21d91 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -878,7 +878,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () f:SetAttribute("type1", "pet") f:SetAttribute("action1", button) f:SetAttribute("type2", "macro") - f:SetAttribute("macrotext2", string.format("/petautocasttoggle %s", GetPetActionInfo(button) or "")) + f:SetAttribute("macrotext2", "/click PetActionButton".. button .. " RightButton") else bars[bar]:SetAttribute("addchild", f) f:SetAttribute("type", "action")