From c4eecaf13a4f8f0a81dc278078727df23caa8411 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 16 Dec 2021 23:33:06 -0600 Subject: try to implement compression --- azalea-protocol/src/packets/handshake/client_intention_packet.rs | 2 +- azalea-protocol/src/packets/handshake/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-protocol/src/packets/handshake') diff --git a/azalea-protocol/src/packets/handshake/client_intention_packet.rs b/azalea-protocol/src/packets/handshake/client_intention_packet.rs index 868626b3..5b50c7cc 100644 --- a/azalea-protocol/src/packets/handshake/client_intention_packet.rs +++ b/azalea-protocol/src/packets/handshake/client_intention_packet.rs @@ -28,7 +28,7 @@ impl ClientIntentionPacket { } pub async fn read( - _buf: &mut BufReader, + _buf: &mut T, ) -> Result { Err("ClientIntentionPacket::parse not implemented".to_string()) // Ok(ClientIntentionPacket {}.get()) diff --git a/azalea-protocol/src/packets/handshake/mod.rs b/azalea-protocol/src/packets/handshake/mod.rs index 01010e1e..70e1a90d 100644 --- a/azalea-protocol/src/packets/handshake/mod.rs +++ b/azalea-protocol/src/packets/handshake/mod.rs @@ -33,7 +33,7 @@ impl ProtocolPacket for HandshakePacket { async fn read( id: u32, flow: &PacketFlow, - buf: &mut BufReader, + buf: &mut T, ) -> Result where Self: Sized, -- cgit v1.2.3