diff options
Diffstat (limited to 'minecraft-protocol/src/read.rs')
| -rw-r--r-- | minecraft-protocol/src/read.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minecraft-protocol/src/read.rs b/minecraft-protocol/src/read.rs index 7f4eeaac..f0c82641 100644 --- a/minecraft-protocol/src/read.rs +++ b/minecraft-protocol/src/read.rs @@ -22,7 +22,7 @@ pub async fn read_packet<P: ProtocolPacket>( // if we recognize the packet id, parse it - let packet = P::read(packet_id.try_into().unwrap(), &flow, &mut buf).await?; + let packet = P::read(packet_id.try_into().unwrap(), flow, &mut buf).await?; Ok(packet) } |
