diff options
| author | mat <github@matdoes.dev> | 2022-05-07 11:58:00 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-07 11:58:00 -0500 |
| commit | b9c31efc0161457771861e6858a4a4da0b6a2727 (patch) | |
| tree | 5ce24cf6e79f8fb640b4213bc60597f89b2f0bae /azalea-protocol/src/packets/handshake | |
| parent | 79bf5771303c70115cba09ac55c7b7a2d3e32091 (diff) | |
| download | azalea-drasl-b9c31efc0161457771861e6858a4a4da0b6a2727.tar.xz | |
Initialize worldborder packet
Also add varlong and replace #[varint] with #[var]
Diffstat (limited to 'azalea-protocol/src/packets/handshake')
| -rwxr-xr-x | azalea-protocol/src/packets/handshake/client_intention_packet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/handshake/client_intention_packet.rs b/azalea-protocol/src/packets/handshake/client_intention_packet.rs index 6216ddc4..98caf34c 100755 --- a/azalea-protocol/src/packets/handshake/client_intention_packet.rs +++ b/azalea-protocol/src/packets/handshake/client_intention_packet.rs @@ -4,7 +4,7 @@ use std::hash::Hash; #[derive(Hash, Clone, Debug, HandshakePacket)] pub struct ClientIntentionPacket { - #[varint] + #[var] pub protocol_version: u32, pub hostname: String, pub port: u16, |
