diff options
Diffstat (limited to 'azalea-protocol/src')
| -rwxr-xr-x | azalea-protocol/src/read.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index c324740f..54d29e61 100755 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -105,7 +105,6 @@ fn parse_frame(buffer: &mut Cursor<Vec<u8>>) -> Result<Box<[u8]>, FrameSplitterE // the length of the varint that says the length of the whole packet let varint_length = buffer.remaining() - buffer_copy.remaining(); - drop(buffer_copy); buffer.advance(varint_length); let data = |
