diff --git a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx index f25bf5c..26316c8 100644 --- a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx +++ b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx @@ -79,7 +79,7 @@ export async function generateMetadata({ params: { platform, hostname } }: Param try { const server = await getServer(platform, hostname); - const { hostname: serverHostname, players } = server as CachedJavaMinecraftServer | CachedBedrockMinecraftServer; + const { hostname: serverHostname, players } = server; const favicon = getFavicon(platform, server);