From fb1d419a3d4207a293a1ad6001253192f1b4d12f Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 8 Jun 2022 18:37:29 -0500 Subject: 1.19 --- azalea-protocol/src/packets/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol') diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs index a06dc940..1cc79b79 100755 --- a/azalea-protocol/src/packets/mod.rs +++ b/azalea-protocol/src/packets/mod.rs @@ -12,7 +12,7 @@ use crate::{ use num_derive::FromPrimitive; use num_traits::FromPrimitive; -pub const PROTOCOL_VERSION: u32 = 1073741911; +pub const PROTOCOL_VERSION: u32 = 759; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, FromPrimitive)] pub enum ConnectionProtocol { -- cgit v1.2.3 From 70cc7dfbeda9775014f25c9ec40932d83bae280f Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 8 Jun 2022 21:16:32 -0500 Subject: get rid of ProfilePublicKey struct --- azalea-protocol/src/packets/login/serverbound_hello_packet.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'azalea-protocol') diff --git a/azalea-protocol/src/packets/login/serverbound_hello_packet.rs b/azalea-protocol/src/packets/login/serverbound_hello_packet.rs index 46fb665e..bed93f04 100755 --- a/azalea-protocol/src/packets/login/serverbound_hello_packet.rs +++ b/azalea-protocol/src/packets/login/serverbound_hello_packet.rs @@ -6,10 +6,6 @@ pub struct ServerboundHelloPacket { pub public_key: Option, } -pub struct ProfilePublicKey { - pub data: ProfilePublicKeyData, -} - #[derive(Clone, Debug, McBuf)] pub struct ProfilePublicKeyData { pub expires_at: u64, -- cgit v1.2.3