Sync
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user