aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory/src/operations.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-19 13:07:19 +1100
committermat <git@matdoes.dev>2025-12-19 13:07:19 +1100
commitb300cd7b36a5ba6f5be58e1942da8e2c866106e6 (patch)
tree71f2ff46aae542aa9f78097c9442dea9130be3de /azalea-inventory/src/operations.rs
parent7c468692c7adf6c9a4796aa8010f20ced4618327 (diff)
downloadazalea-drasl-b300cd7b36a5ba6f5be58e1942da8e2c866106e6.tar.xz
smaller EntityDataValue type
Diffstat (limited to 'azalea-inventory/src/operations.rs')
-rw-r--r--azalea-inventory/src/operations.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-inventory/src/operations.rs b/azalea-inventory/src/operations.rs
index 41fca533..afaaf2ef 100644
--- a/azalea-inventory/src/operations.rs
+++ b/azalea-inventory/src/operations.rs
@@ -702,7 +702,7 @@ impl Menu {
// get the target slot again but mut this time so we can update it
let target_slot = self.slot_mut(target_slot_index).unwrap();
- *target_slot = ItemStack::Present(new_target_slot_data);
+ *target_slot = ItemStack::from(new_target_slot_data);
item_slot.update_empty();
}