diff options
| author | mat <github@matdoes.dev> | 2021-12-16 23:33:06 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-16 23:33:06 -0600 |
| commit | c4eecaf13a4f8f0a81dc278078727df23caa8411 (patch) | |
| tree | 5082f54d1a9242281d80c250e587235a3ac3755b /azalea-protocol/src/packets/game/mod.rs | |
| parent | 1dc56b6f519f386b6e0b5eac47a84576cedbbb33 (diff) | |
| download | azalea-drasl-c4eecaf13a4f8f0a81dc278078727df23caa8411.tar.xz | |
try to implement compression
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/mod.rs b/azalea-protocol/src/packets/game/mod.rs index a3ef2541..0391a6b1 100644 --- a/azalea-protocol/src/packets/game/mod.rs +++ b/azalea-protocol/src/packets/game/mod.rs @@ -22,7 +22,7 @@ impl ProtocolPacket for GamePacket { async fn read<T: tokio::io::AsyncRead + std::marker::Unpin + std::marker::Send>( _id: u32, flow: &PacketFlow, - _buf: &mut BufReader<T>, + _buf: &mut T, ) -> Result<GamePacket, String> where Self: Sized, |
