From ddb21fdd4acf6e03fecef33b16f3acc25e4eaf30 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 17 Jan 2026 02:43:13 -0530 Subject: move PathfinderHeap to a module --- azalea/src/pathfinder/world.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'azalea/src/pathfinder/world.rs') diff --git a/azalea/src/pathfinder/world.rs b/azalea/src/pathfinder/world.rs index ec2dbe80..9970de8d 100644 --- a/azalea/src/pathfinder/world.rs +++ b/azalea/src/pathfinder/world.rs @@ -29,12 +29,7 @@ pub struct CachedWorld { // we store `PalettedContainer`s instead of `Chunk`s or `Section`s because it doesn't contain // any unnecessary data like heightmaps or biomes. - cached_chunks: RefCell< - Vec<( - ChunkPos, - Vec>, - )>, - >, + cached_chunks: RefCell]>)>>, last_chunk_cache_index: RefCell>, cached_blocks: UnsafeCell, @@ -194,7 +189,7 @@ impl CachedWorld { .sections .iter() .map(|section| section.states.clone()) - .collect::>>(); + .collect::]>>(); if section_index >= sections.len() { // y position is out of bounds -- cgit v1.2.3