From b030b9de9345d7b1cfef205e5b9a1e2c7dc6025e Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 18 Dec 2021 20:33:16 -0600 Subject: nbt --- azalea-protocol/src/write.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'azalea-protocol/src/write.rs') diff --git a/azalea-protocol/src/write.rs b/azalea-protocol/src/write.rs index 4ae9f1c1..3898e74a 100644 --- a/azalea-protocol/src/write.rs +++ b/azalea-protocol/src/write.rs @@ -1,9 +1,7 @@ -use std::io::Read; - use crate::{mc_buf::Writable, packets::ProtocolPacket, read::MAXIMUM_UNCOMPRESSED_LENGTH}; use async_compression::tokio::bufread::ZlibEncoder; use tokio::{ - io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}, + io::{AsyncReadExt, AsyncWriteExt}, net::TcpStream, }; -- cgit v1.2.3