actionbar: fix pet button placement on clicks

This commit is contained in:
shagu
2019-06-14 14:14:07 +02:00
parent 53811ba21c
commit 880655221a
+5 -1
View File
@@ -449,7 +449,11 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
if self.bar == 11 then
CastShapeshiftForm(self.id)
elseif grid == 1 then
PickupAction(self.id)
if self.bar == 12 then
PickupPetAction(self.id)
else
PickupAction(self.id)
end
elseif self.bar == 12 then
if arg1 == "LeftButton" then
if IsPetAttackActive(self.id) then