diff options
| author | mat <github@matdoes.dev> | 2022-09-01 19:11:24 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-09-01 19:11:24 -0500 |
| commit | d564b4cc4fc6c823cb90c1ba931a9481aa9b5e21 (patch) | |
| tree | 22c5ac8c06e7fb98fea3b873882eef1cde05fed3 | |
| parent | 56afcb9dd8a6a08d084a642d64e7bef6e2051471 (diff) | |
| download | azalea-drasl-d564b4cc4fc6c823cb90c1ba931a9481aa9b5e21.tar.xz | |
ping players can be negative
| -rwxr-xr-x | azalea-protocol/src/packets/status/clientbound_status_response_packet.rs | 4 |
1 files changed, 2 insertions, 2 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 8724816b..457e6e61 100755 --- a/azalea-protocol/src/packets/status/clientbound_status_response_packet.rs +++ b/azalea-protocol/src/packets/status/clientbound_status_response_packet.rs @@ -19,8 +19,8 @@ pub struct SamplePlayer { #[derive(Clone, Debug, Deserialize)] pub struct Players { - pub max: u32, - pub online: u32, + pub max: i32, + pub online: i32, pub sample: Vec<SamplePlayer>, } |
