diff options
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(); } |
