Untitled
unknown
plain_text
2 years ago
319 B
2
Indexable
Never
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)