diff --git a/buttonPrototypes/PetButton.lua b/buttonPrototypes/PetButton.lua index bd14408..d79f624 100644 --- a/buttonPrototypes/PetButton.lua +++ b/buttonPrototypes/PetButton.lua @@ -15,7 +15,9 @@ local _G = _G local format = string.format local function onEnter(self, ...) - self:OnEnter(...) + if not (Bartender4.db.profile.tooltip == "nocombat" and InCombatLockdown()) and Bartender4.db.profile.tooltip ~= "disabled" then + self:OnEnter(...) + end KeyBound:Set(self) end diff --git a/specialBars/StanceBar.lua b/specialBars/StanceBar.lua index 9a6e905..8b3c332 100644 --- a/specialBars/StanceBar.lua +++ b/specialBars/StanceBar.lua @@ -154,7 +154,9 @@ function StanceButtonPrototype:ClearSetPoint(...) end local function onEnter(self, ...) - self:OnEnter(...) + if not (Bartender4.db.profile.tooltip == "nocombat" and InCombatLockdown()) and Bartender4.db.profile.tooltip ~= "disabled" then + self:OnEnter(...) + end KeyBound:Set(self) end