Untitled
Anonymous
plain_text
06/11/2022 12:10 PM
440 B
17
Indexable
local function HideRealmName(self)
if (not strfind(self.unit, "nameplate") or self:IsForbidden()) then return end
if ShouldShowName(self) then
if (UnitIsPlayer(self.unit)) then print("aa") self.name:SetText(UnitName(self.unit))
end
end
end
hooksecurefunc("CompactUnitFrame_UpdateName", HideRealmName)Editor is loading...