From f3a5e91a8ccbcd03a239aa3565dbfddabb26fa76 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 3 Jun 2025 09:52:30 +0930 Subject: fix issues when pathfinding to non-full blocks and add Client::view_inventory --- azalea-world/src/chunk_storage.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'azalea-world/src') diff --git a/azalea-world/src/chunk_storage.rs b/azalea-world/src/chunk_storage.rs index 23d1bb89..a6e33739 100644 --- a/azalea-world/src/chunk_storage.rs +++ b/azalea-world/src/chunk_storage.rs @@ -41,6 +41,9 @@ pub struct PartialChunkStorage { /// A storage for chunks where they're only stored weakly, so if they're not /// actively being used somewhere else they'll be forgotten. This is used for /// shared worlds. +/// +/// This is relatively cheap to clone since it's just an `IntMap` with `Weak` +/// pointers. #[derive(Debug, Clone)] pub struct ChunkStorage { pub height: u32, -- cgit v1.2.3