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-world/src/container.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'azalea-world/src/container.rs') diff --git a/azalea-world/src/container.rs b/azalea-world/src/container.rs index c0fa2633..9b9aeed9 100644 --- a/azalea-world/src/container.rs +++ b/azalea-world/src/container.rs @@ -60,16 +60,16 @@ impl Worlds { match self.map.get(&name).and_then(|world| world.upgrade()) { Some(existing_lock) => { let existing = existing_lock.read(); - if existing.chunks.height != height { + if existing.chunks.height() != height { error!( "Shared world height mismatch: {} != {height}", - existing.chunks.height + existing.chunks.height() ); } - if existing.chunks.min_y != min_y { + if existing.chunks.min_y() != min_y { error!( "Shared world min_y mismatch: {} != {min_y}", - existing.chunks.min_y + existing.chunks.min_y() ); } existing_lock.clone() -- cgit v1.2.3