diff options
| author | mat <git@matdoes.dev> | 2025-12-19 13:07:19 +1100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-19 13:07:19 +1100 |
| commit | b300cd7b36a5ba6f5be58e1942da8e2c866106e6 (patch) | |
| tree | 71f2ff46aae542aa9f78097c9442dea9130be3de /azalea-inventory/src/operations.rs | |
| parent | 7c468692c7adf6c9a4796aa8010f20ced4618327 (diff) | |
| download | azalea-drasl-b300cd7b36a5ba6f5be58e1942da8e2c866106e6.tar.xz | |
smaller EntityDataValue type
Diffstat (limited to 'azalea-inventory/src/operations.rs')
| -rw-r--r-- | azalea-inventory/src/operations.rs | 2 |
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(); } |
