aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-10-26 23:13:26 -0500
committermat <git@matdoes.dev>2023-10-26 23:13:26 -0500
commit48b5d121718c98c3280e0945508324fc4527beec (patch)
treeb99fa869f2d431cb6c8736d1577b1a8f0c05e989 /azalea-inventory/src
parent2803e9ef0d785538a23adceba44d45b162629979 (diff)
downloadazalea-drasl-48b5d121718c98c3280e0945508324fc4527beec.tar.xz
remove some unnecessary code and improve docs for Menu
Diffstat (limited to 'azalea-inventory/src')
-rw-r--r--azalea-inventory/src/operations.rs3
1 files changed, 3 insertions, 0 deletions
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() {