aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-12-25 12:09:27 +0000
committermat <git@matdoes.dev>2024-12-25 12:09:27 +0000
commite11a902fba8c8c63be982afbc6085a49c6a19f12 (patch)
tree3173f3b5d0228ed08088da9b8a0cccd0376474d5 /azalea-protocol/src
parent2f1fe5f9f6fcb5ed1ed515793e383bcb37f587d9 (diff)
downloadazalea-drasl-e11a902fba8c8c63be982afbc6085a49c6a19f12.tar.xz
patch pathfinder obstructions instead of just truncating the path
Diffstat (limited to 'azalea-protocol/src')
-rwxr-xr-xazalea-protocol/src/read.rs1
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 =