mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Fix tooltip (debuff was showing buff tooltip)
This commit is contained in:
@@ -80,7 +80,8 @@ local HIDDEN = 0
|
|||||||
|
|
||||||
local function UpdateTooltip(self)
|
local function UpdateTooltip(self)
|
||||||
if self:GetParent().__owner.unit == "player" then
|
if self:GetParent().__owner.unit == "player" then
|
||||||
GameTooltip:SetPlayerBuff(self:GetID() - 1)
|
local index = GetPlayerBuff(self:GetID() - 1, self.filter)
|
||||||
|
GameTooltip:SetPlayerBuff(index)
|
||||||
elseif self.filter == 'HELPFUL' then
|
elseif self.filter == 'HELPFUL' then
|
||||||
GameTooltip:SetUnitBuff(self:GetParent().__owner.unit, self:GetID(), self.filter)
|
GameTooltip:SetUnitBuff(self:GetParent().__owner.unit, self:GetID(), self.filter)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user