Browse Source

remove TODO

pull/80/head
jake 3 years ago
parent
commit
8a29a75397
  1. 1
      src/ship/items/manager.rs

1
src/ship/items/manager.rs

@ -90,7 +90,6 @@ impl ItemManager {
ClientItemId(self.id_counter) ClientItemId(self.id_counter)
} }
// TODO: Result
pub async fn load_character<EG: EntityGateway>(&mut self, entity_gateway: &mut EG, character: &CharacterEntity) -> Result<(), anyhow::Error> { pub async fn load_character<EG: EntityGateway>(&mut self, entity_gateway: &mut EG, character: &CharacterEntity) -> Result<(), anyhow::Error> {
let inventory = entity_gateway.get_character_inventory(&character.id).await?; let inventory = entity_gateway.get_character_inventory(&character.id).await?;
let bank = entity_gateway.get_character_bank(&character.id, BankName("".into())).await?; let bank = entity_gateway.get_character_bank(&character.id, BankName("".into())).await?;

Loading…
Cancel
Save