diff options
| author | mat <github@matdoes.dev> | 2022-09-01 19:26:21 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-09-01 19:26:21 -0500 |
| commit | 4d072d8057518fe233b8e7390f6c1f4c54b1cfc0 (patch) | |
| tree | 4640c929547ec20cf1669b1d7d74cc1638916d9a | |
| parent | d564b4cc4fc6c823cb90c1ba931a9481aa9b5e21 (diff) | |
| download | azalea-drasl-4d072d8057518fe233b8e7390f6c1f4c54b1cfc0.tar.xz | |
sample can be empty
| -rwxr-xr-x | azalea-protocol/src/packets/status/clientbound_status_response_packet.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/status/clientbound_status_response_packet.rs b/azalea-protocol/src/packets/status/clientbound_status_response_packet.rs index 457e6e61..0fa0f4b9 100755 --- a/azalea-protocol/src/packets/status/clientbound_status_response_packet.rs +++ b/azalea-protocol/src/packets/status/clientbound_status_response_packet.rs @@ -21,6 +21,7 @@ pub struct SamplePlayer { pub struct Players { pub max: i32, pub online: i32, + #[serde(default)] pub sample: Vec<SamplePlayer>, } |
