aboutsummaryrefslogtreecommitdiff
path: root/azalea/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src')
-rw-r--r--azalea/src/container.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea/src/container.rs b/azalea/src/container.rs
index 221b80b9..f5ac710e 100644
--- a/azalea/src/container.rs
+++ b/azalea/src/container.rs
@@ -137,6 +137,10 @@ impl ContainerHandle {
/// Returns the menu of the container. If the container is closed, this
/// will return `None`.
+ ///
+ /// Note that any modifications you make to the `Menu` you're given will not
+ /// actually cause any packets to be sent. If you're trying to modify your
+ /// inventory, use [`Self::open_inventory`] instead
pub fn menu(&self) -> Option<Menu> {
let ecs = self.client.ecs.lock();
let inventory = ecs