diff options
Diffstat (limited to 'azalea-protocol/src/read.rs')
| -rwxr-xr-x | azalea-protocol/src/read.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index be20ac23..1e308cfb 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -11,7 +11,6 @@ where { // Packet Length let length_result = stream.read_varint().await; - println!("length_result: {:?}", length_result); match length_result { Ok(length) => { let mut buf = vec![0; length as usize]; @@ -21,8 +20,6 @@ where .await .map_err(|e| e.to_string())?; - println!("buf: {:?}", buf); - Ok(buf) } Err(_) => Err("length wider than 21-bit".to_string()), @@ -117,10 +114,8 @@ where let polled = self.as_mut().stream.as_mut().poll_read(cx, buf); match polled { std::task::Poll::Ready(r) => { - println!("encrypted packet {:?}", buf.initialized_mut()); if let Some(cipher) = self.as_mut().cipher.get_mut() { azalea_auth::encryption::decrypt_packet(cipher, buf.initialized_mut()); - println!("decrypted packet {:?}", buf.initialized_mut()); } match r { Ok(()) => std::task::Poll::Ready(Ok(())), |
