From 0e2378abde65110a1fd63bce42bb28aac4216308 Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:46:12 -0700 Subject: [PATCH] remove rest of tooltip ids --- ElvUI/Modules/Tooltip/Tooltip.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ElvUI/Modules/Tooltip/Tooltip.lua b/ElvUI/Modules/Tooltip/Tooltip.lua index 82329ee..6f45086 100644 --- a/ElvUI/Modules/Tooltip/Tooltip.lua +++ b/ElvUI/Modules/Tooltip/Tooltip.lua @@ -54,7 +54,6 @@ local FACTION_ALLIANCE = FACTION_ALLIANCE local FACTION_HORDE = FACTION_HORDE local LEVEL = LEVEL local FACTION_BAR_COLORS = FACTION_BAR_COLORS -local ID = ID local GameTooltip, GameTooltipStatusBar = GameTooltip, GameTooltipStatusBar local targetList, inspectCache = {}, {} @@ -428,16 +427,6 @@ function TT:GameTooltip_OnTooltipSetUnit(tt) self:ShowInspectInfo(tt, unit, color.r, color.g, color.b) end - if unit and self.db.npcID and not isPlayerUnit then - local guid = UnitGUID(unit) - if guid then - local id = tonumber(sub(guid, 8, 12), 16) - if id then - tt:AddLine(format("|cFFCA3C3C%s|r %d", ID, id)) - end - end - end - if color then tt.StatusBar:SetStatusBarColor(color.r, color.g, color.b) else