From 48b5d121718c98c3280e0945508324fc4527beec Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 26 Oct 2023 23:13:26 -0500 Subject: remove some unnecessary code and improve docs for Menu --- azalea-inventory/src/operations.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'azalea-inventory/src') diff --git a/azalea-inventory/src/operations.rs b/azalea-inventory/src/operations.rs index 8d81b18e..29d61bd8 100644 --- a/azalea-inventory/src/operations.rs +++ b/azalea-inventory/src/operations.rs @@ -263,6 +263,9 @@ pub enum ClickType { impl Menu { /// Shift-click a slot in this menu. + /// + /// Keep in mind that this doesn't send any packets to the server, it just + /// mutates this specific `Menu`. pub fn quick_move_stack(&mut self, slot_index: usize) -> ItemSlot { let slot = self.slot(slot_index); if slot.is_none() { -- cgit v1.2.3