aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/handshake/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/handshake/mod.rs')
-rw-r--r--azalea-protocol/src/packets/handshake/mod.rs2
1 files changed, 1 insertions, 1 deletions
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<T: tokio::io::AsyncRead + std::marker::Unpin + std::marker::Send>(
id: u32,
flow: &PacketFlow,
- buf: &mut BufReader<T>,
+ buf: &mut T,
) -> Result<HandshakePacket, String>
where
Self: Sized,