The server status response sample field is optional (#18)

This commit is contained in:
Tim Visée
2021-11-09 20:06:51 +01:00
committed by GitHub
parent f19f598abe
commit 31041b8fe2

View File

@@ -20,6 +20,7 @@ pub struct ServerVersion {
pub struct OnlinePlayers {
pub max: u32,
pub online: u32,
#[serde(default)]
pub sample: Vec<OnlinePlayer>,
}