mirror of
https://github.com/mat-1/azalea.git
synced 2024-09-19 22:52:32 +00:00
Update read.rs
This commit is contained in:
parent
567c6f4f2c
commit
e1b6bc965a
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ where
|
|||
// "decompressing packet ({}ms)",
|
||||
// start_time.elapsed().as_millis()
|
||||
// );
|
||||
buf = compression_decoder(&mut &buf[..], compression_threshold)?;
|
||||
buf = compression_decoder(&mut buf.as_slice(), compression_threshold)?;
|
||||
}
|
||||
|
||||
// println!("decoding packet ({}ms)", start_time.elapsed().as_millis());
|
||||
|
|
Loading…
Reference in a new issue