aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/read.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-18 20:33:16 -0600
committermat <github@matdoes.dev>2021-12-18 20:33:16 -0600
commitb030b9de9345d7b1cfef205e5b9a1e2c7dc6025e (patch)
tree1ce3beaae90328186d98e0de2c5c3c3f376f0d55 /azalea-protocol/src/read.rs
parent76e1985fc4ab21c43e17fef685b17a567b1073a5 (diff)
downloadazalea-drasl-b030b9de9345d7b1cfef205e5b9a1e2c7dc6025e.tar.xz
nbt
Diffstat (limited to 'azalea-protocol/src/read.rs')
-rw-r--r--azalea-protocol/src/read.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs
index 7b94135a..3d6a41d6 100644
--- a/azalea-protocol/src/read.rs
+++ b/azalea-protocol/src/read.rs
@@ -1,8 +1,6 @@
-use std::io::Cursor;
-
use crate::{connect::PacketFlow, mc_buf::Readable, packets::ProtocolPacket};
use async_compression::tokio::bufread::ZlibDecoder;
-use tokio::io::{AsyncRead, AsyncReadExt, BufReader};
+use tokio::io::{AsyncRead, AsyncReadExt};
async fn frame_splitter<R>(stream: &mut R) -> Result<Vec<u8>, String>
where