diff options
| -rwxr-xr-x | azalea-world/src/chunk_storage.rs | 2 | ||||
| -rw-r--r-- | azalea-world/src/world.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs index c2a72ea2..61669cca 100755 --- a/azalea-world/src/chunk_storage.rs +++ b/azalea-world/src/chunk_storage.rs @@ -96,7 +96,7 @@ impl PartialChunkStorage { &self, pos: &BlockPos, state: BlockState, - chunk_storage: &mut ChunkStorage, + chunk_storage: &ChunkStorage, ) -> Option<BlockState> { if pos.y < chunk_storage.min_y || pos.y >= (chunk_storage.min_y + chunk_storage.height as i32) diff --git a/azalea-world/src/world.rs b/azalea-world/src/world.rs index 4784880b..c88b0929 100644 --- a/azalea-world/src/world.rs +++ b/azalea-world/src/world.rs @@ -183,9 +183,9 @@ impl Instance { impl Debug for PartialInstance { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { - f.debug_struct("World") - .field("chunk_storage", &self.chunks) - .field("entity_storage", &self.entity_infos) + f.debug_struct("PartialInstance") + .field("chunks", &self.chunks) + .field("entity_infos", &self.entity_infos) .finish() } } |
