remove rest of tooltip ids

This commit is contained in:
andrew6180
2024-11-15 17:46:12 -07:00
parent 5366aad343
commit 0e2378abde
-11
View File
@@ -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