Revert "Unify server pinging implementations between app and backend (#5510)" (#5558)

This commit is contained in:
aecsocket
2026-03-13 20:58:57 +00:00
committed by GitHub
parent 4792985e52
commit 31b541007d
13 changed files with 222 additions and 243 deletions

View File

@@ -37,12 +37,10 @@ async fn main() -> Result<()> {
let connection = connection.status().await?;
if let (Some(online), Some(max)) = (
connection.status.players.online,
connection.status.players.max,
) {
println!("{online} of {max} player(s) online");
}
println!(
"{} of {} player(s) online",
connection.status.players.online, connection.status.players.max
);
connection.ping(42).await?;