diff --git a/src/components/ServerStatus.svelte b/src/components/ServerStatus.svelte index 230a424..fcbe3da 100644 --- a/src/components/ServerStatus.svelte +++ b/src/components/ServerStatus.svelte @@ -22,8 +22,7 @@ import {server} from "./stores/stores.ts"; function generateVersionString(version: string): string { - let versions = version.split(" ").slice(1) - return `${versions[0].replace(",", "")} - ${versions[versions.length - 1]}` + return version.split(" ")[1] }