From 89ddd5e85f4f2fb98697df15528df6e07a3ddd07 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 11 Jun 2025 15:50:45 -1245 Subject: [PATCH] fix bench --- azalea/benches/pathfinder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azalea/benches/pathfinder.rs b/azalea/benches/pathfinder.rs index cddaee2c..48736cef 100644 --- a/azalea/benches/pathfinder.rs +++ b/azalea/benches/pathfinder.rs @@ -61,14 +61,14 @@ fn generate_bedrock_world( let mut start = BlockPos::new(-64, 4, -64); // move start down until it's on a solid block - while chunks.get_block_state(&start).unwrap().is_air() { + while chunks.get_block_state(start).unwrap().is_air() { start = start.down(1); } start = start.up(1); let mut end = BlockPos::new(63, 4, 63); // move end down until it's on a solid block - while chunks.get_block_state(&end).unwrap().is_air() { + while chunks.get_block_state(end).unwrap().is_air() { end = end.down(1); } end = end.up(1);