actionbar: click pet button to avoid macro updates

This commit is contained in:
shagu
2020-03-30 17:51:44 +02:00
parent 57a4876318
commit 25b6926d86
+1 -1
View File
@@ -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")