diff --git a/src/ship/items/apply_item.rs b/src/ship/items/apply_item.rs index 7508358..6d4f840 100644 --- a/src/ship/items/apply_item.rs +++ b/src/ship/items/apply_item.rs @@ -121,7 +121,7 @@ where entity_gateway.use_mag_cell(&mag_entity_id, &cell_entity_id).await?; entity_gateway.set_character_inventory(&character.id, &inventory.as_inventory_entity(&character.id)).await?; - item_state.set_inventory(inventory); + item_state.set_inventory(inventory).await; Ok(Vec::new()) }