diff options
Diffstat (limited to 'azalea-protocol/src/packets/login/clientbound_hello_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/login/clientbound_hello_packet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/login/clientbound_hello_packet.rs b/azalea-protocol/src/packets/login/clientbound_hello_packet.rs index 36a48706..46ca1301 100644 --- a/azalea-protocol/src/packets/login/clientbound_hello_packet.rs +++ b/azalea-protocol/src/packets/login/clientbound_hello_packet.rs @@ -22,7 +22,7 @@ impl ClientboundHelloPacket { } pub async fn read<T: tokio::io::AsyncRead + std::marker::Unpin + std::marker::Send>( - buf: &mut BufReader<T>, + buf: &mut T, ) -> Result<LoginPacket, String> { let server_id = buf.read_utf_with_len(20).await?; let public_key = buf.read_byte_array().await?; |
