From 48e1c6cdafe6558c8aa729f50a88a91b4a7f9917 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 16 Feb 2015 23:48:17 +0400 Subject: [PATCH] Replacing T: as the toon name if friend is in HoTS Replacing with "" so the column will appear empty --- ElvUI_SLE/modules/sledatatexts/friends.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/sledatatexts/friends.lua b/ElvUI_SLE/modules/sledatatexts/friends.lua index ab227be..9c27367 100644 --- a/ElvUI_SLE/modules/sledatatexts/friends.lua +++ b/ElvUI_SLE/modules/sledatatexts/friends.lua @@ -420,9 +420,13 @@ function LDB.OnEnter(self) line = tooltip:AddLine() line = tooltip:SetCell(line, 1, ColoredLevel(player["LEVEL"])) line = tooltip:SetCell(line, 2, player["STATUS"]) - line = tooltip:SetCell(line, 3, + if player["CLIENT"] ~= "Hero" then + line = tooltip:SetCell(line, 3, string.format("|cff%s%s",CLASS_COLORS[player["CLASS"]] or "B8B8B8", player["TOONNAME"] .. "|r").. (inGroup(player["TOONNAME"]) and GROUP_CHECKMARK or "")) + else + line = tooltip:SetCell(line, 3, string.format("")) + end line = tooltip:SetCell(line, 4, "|cff82c5ff" .. player["GIVENNAME"] .. "|r" .. broadcast_flag) -- 1.7.9.5