diff options
Diffstat (limited to 'azalea-protocol/src/read.rs')
| -rwxr-xr-x | azalea-protocol/src/read.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index aa99c4a7..f7c783de 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -3,6 +3,7 @@ use azalea_buf::McBufVarReadable; use azalea_buf::{read_varint_async, BufReadError}; use azalea_crypto::Aes128CfbDec; use flate2::read::ZlibDecoder; +use log::trace; use std::{ cell::Cell, io::Read, @@ -200,6 +201,8 @@ where buf = compression_decoder(&mut buf.as_slice(), compression_threshold)?; } + trace!("Reading packet with bytes: {buf:?}"); + let packet = packet_decoder(&mut buf.as_slice())?; Ok(packet) |
