diff --git a/resources/scripts/components/server/console/Console.tsx b/resources/scripts/components/server/console/Console.tsx index b6edaf8d9..ccdd07375 100644 --- a/resources/scripts/components/server/console/Console.tsx +++ b/resources/scripts/components/server/console/Console.tsx @@ -68,7 +68,7 @@ export default () => { const { connected, instance } = ServerContext.useStoreState((state) => state.socket); const isTransferring = ServerContext.useStoreState((state) => state.server.data!.isTransferring); const [history, setHistory] = usePersistedState(`${serverId}:command_history`, []); - const TERMINAL_PRELUDE = `\u001b[1m\u001b[33m${settingsData.consolemessagename}: \u001b[0m`; + const TERMINAL_PRELUDE = `\u001b[1m\u001b[33m${settingsData?.consolemessagename ?? 'Jexactyl-fork'}: \u001b[0m`; const zIndex = ` .xterm-search-bar__addon {