The server status response sample field is optional (#18)
This commit is contained in:
parent
f19f598abe
commit
31041b8fe2
@ -20,6 +20,7 @@ pub struct ServerVersion {
|
||||
pub struct OnlinePlayers {
|
||||
pub max: u32,
|
||||
pub online: u32,
|
||||
#[serde(default)]
|
||||
pub sample: Vec<OnlinePlayer>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user