local T = ShaguTweaks.T local module = ShaguTweaks:register({ title = T["Hide Player Name"], description = T["Hides your detached player name. Only applies while Standalone Player Frame is enabled."], expansions = { ["vanilla"] = true }, category = T["Unit Frames"], enabled = nil, }) module.enable = function(self) if ShaguTweaks_config[T["Standalone Player Frame"]] ~= 1 then return end local layout = ShaguTweaks.StandalonePlayerFrame if layout and layout.name then layout.name:Hide() end -- Standalone setup also reads the saved setting after all modules load, -- so this works regardless of their initialization order. end