aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/read.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-09-19 21:21:46 -0500
committerGitHub <noreply@github.com>2022-09-19 21:21:46 -0500
commite46577a214ae30159d14c128c45488e3772c8f84 (patch)
treeca4932b8f3f81f6eaa6d37c5f4d7ea390968d54d /azalea-protocol/src/read.rs
parent528c1a07e3ac089ff70036a5e403eb2b8d3ae21f (diff)
downloadazalea-drasl-e46577a214ae30159d14c128c45488e3772c8f84.tar.xz
Fix connection writer being locked (#23)
* Split connection struct in az-protocol * az-client uses split conns * fix errors * add a convenience write_packet fn to az-client
Diffstat (limited to 'azalea-protocol/src/read.rs')
-rwxr-xr-xazalea-protocol/src/read.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs
index 313fb412..3ff24f72 100755
--- a/azalea-protocol/src/read.rs
+++ b/azalea-protocol/src/read.rs
@@ -221,10 +221,7 @@ where
#[cfg(test)]
mod tests {
use super::*;
- use crate::packets::{
- game::{clientbound_player_chat_packet::ChatType, ClientboundGamePacket},
- handshake::ClientboundHandshakePacket,
- };
+ use crate::packets::game::{clientbound_player_chat_packet::ChatType, ClientboundGamePacket};
use std::io::Cursor;
#[tokio::test]