aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/mod.rs')
-rw-r--r--azalea-protocol/src/packets/game/mod.rs2
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,