mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +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)
|
||||
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
|
||||
GameTooltip:SetUnitBuff(self:GetParent().__owner.unit, self:GetID(), self.filter)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user