aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/handshaking
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-12-02 15:49:54 -0600
committermat <git@matdoes.dev>2023-12-02 15:49:54 -0600
commit34a40270108e51014e0884c3b6b6619ba42c17dc (patch)
tree4c5db9c4520402f8b17b7ab331c5e999299ade90 /azalea-protocol/src/packets/handshaking
parent1903dabe2cece2eab4a595b09636342aed260406 (diff)
downloadazalea-drasl-34a40270108e51014e0884c3b6b6619ba42c17dc.tar.xz
change protocol_version to an i32
Diffstat (limited to 'azalea-protocol/src/packets/handshaking')
-rwxr-xr-xazalea-protocol/src/packets/handshaking/client_intention_packet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/handshaking/client_intention_packet.rs b/azalea-protocol/src/packets/handshaking/client_intention_packet.rs
index 1900d476..cac64a01 100755
--- a/azalea-protocol/src/packets/handshaking/client_intention_packet.rs
+++ b/azalea-protocol/src/packets/handshaking/client_intention_packet.rs
@@ -6,7 +6,7 @@ use std::hash::Hash;
#[derive(Hash, Clone, Debug, McBuf, ServerboundHandshakePacket)]
pub struct ClientIntentionPacket {
#[var]
- pub protocol_version: u32,
+ pub protocol_version: i32,
pub hostname: String,
pub port: u16,
pub intention: ConnectionProtocol,