diff options
| author | mat <git@matdoes.dev> | 2026-03-21 08:05:27 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-21 11:35:31 +0700 |
| commit | 88606d9ce9e13fcdd4ab5ce26e52630dee614c1e (patch) | |
| tree | ee9d1db9871eba381a876e7472946f267280a8ff /azalea-world/src/container.rs | |
| parent | 7965bb7953bfcabd475e213db335d90e0db28497 (diff) | |
| download | azalea-drasl-88606d9ce9e13fcdd4ab5ce26e52630dee614c1e.tar.xz | |
Extensible ChunkStorage
Co-authored-by: sdwhw <191973436+sdwhw@users.noreply.github.com>
Diffstat (limited to 'azalea-world/src/container.rs')
| -rw-r--r-- | azalea-world/src/container.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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() |
