From 88606d9ce9e13fcdd4ab5ce26e52630dee614c1e Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 21 Mar 2026 08:05:27 +0330 Subject: Extensible ChunkStorage Co-authored-by: sdwhw <191973436+sdwhw@users.noreply.github.com> --- azalea/src/pathfinder/world.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/src') diff --git a/azalea/src/pathfinder/world.rs b/azalea/src/pathfinder/world.rs index 98b22d70..6c5d84d2 100644 --- a/azalea/src/pathfinder/world.rs +++ b/azalea/src/pathfinder/world.rs @@ -110,7 +110,7 @@ pub struct SectionBitsets { impl CachedWorld { pub fn new(world_lock: Arc>, origin: BlockPos) -> Self { - let min_y = world_lock.read().chunks.min_y; + let min_y = world_lock.read().chunks.min_y(); Self { origin, min_y, @@ -145,7 +145,7 @@ impl CachedWorld { let chunk_pos = ChunkPos::new(section_pos.x as i32, section_pos.z as i32); let section_index = - azalea_world::chunk_storage::section_index(section_pos.y * 16, self.min_y) as usize; + azalea_world::chunk::section_index(section_pos.y * 16, self.min_y) as usize; let mut cache_idx = 0; -- cgit v1.2.3