This commit is contained in:
2025-04-30 05:01:03 +02:00
parent 4b8d7f1679
commit 7789bde384
10 changed files with 417 additions and 33 deletions

View File

@@ -6,8 +6,8 @@ async function fetchServerStatus() {
return {
online: json.online,
players: {
online: json.players.online || 0,
max: json.players.max || 0
online: json.players?.online || 0,
max: json.players?.max || 0
}
}