diff options
| author | mat <git@matdoes.dev> | 2023-10-26 23:13:26 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-10-26 23:13:26 -0500 |
| commit | 48b5d121718c98c3280e0945508324fc4527beec (patch) | |
| tree | b99fa869f2d431cb6c8736d1577b1a8f0c05e989 /azalea-inventory/src | |
| parent | 2803e9ef0d785538a23adceba44d45b162629979 (diff) | |
| download | azalea-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.rs | 3 |
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() { |
