aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/handshake
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-07 11:58:00 -0500
committermat <github@matdoes.dev>2022-05-07 11:58:00 -0500
commitb9c31efc0161457771861e6858a4a4da0b6a2727 (patch)
tree5ce24cf6e79f8fb640b4213bc60597f89b2f0bae /azalea-protocol/src/packets/handshake
parent79bf5771303c70115cba09ac55c7b7a2d3e32091 (diff)
downloadazalea-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-xazalea-protocol/src/packets/handshake/client_intention_packet.rs2
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,