Untitled

Anonymous
plain_text
06/11/2022 12:12 PM
428 B
18
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  self.name:SetText(UnitName(self.unit))
    end
  end  
end
hooksecurefunc("CompactUnitFrame_UpdateName", HideRealmName)
Editor is loading...