From 880655221a62c5571cce4ad62210992a28a28ad4 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 14 Jun 2019 14:14:07 +0200 Subject: [PATCH] actionbar: fix pet button placement on clicks --- modules/actionbar.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 90a56b53..f1084ad3 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -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