diff options
| author | mat <git@matdoes.dev> | 2024-12-25 12:09:27 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-25 12:09:27 +0000 |
| commit | e11a902fba8c8c63be982afbc6085a49c6a19f12 (patch) | |
| tree | 3173f3b5d0228ed08088da9b8a0cccd0376474d5 /azalea-protocol | |
| parent | 2f1fe5f9f6fcb5ed1ed515793e383bcb37f587d9 (diff) | |
| download | azalea-drasl-e11a902fba8c8c63be982afbc6085a49c6a19f12.tar.xz | |
patch pathfinder obstructions instead of just truncating the path
Diffstat (limited to 'azalea-protocol')
| -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 = |
