diff --git a/src/ship/items/manager.rs b/src/ship/items/manager.rs index a78e8b7..46c45a0 100644 --- a/src/ship/items/manager.rs +++ b/src/ship/items/manager.rs @@ -215,7 +215,7 @@ impl ItemManager { let inventory = self.character_inventory.get_mut(&character.id).unwrap(); inventory.initialize_item_ids(base_inventory_id); let base_bank_id = ((area_client.local_client.id() as u32) << 21) | 0x20000; - let default_bank = self.character_bank.get_mut(&character.id);//.unwrap().get_mut(&BankName("".to_string())); + let default_bank = self.character_bank.get_mut(&character.id); match default_bank { Some(default_bank) => { default_bank.initialize_item_ids(base_bank_id); diff --git a/src/ship/packet/handler/direct_message.rs b/src/ship/packet/handler/direct_message.rs index 7084516..b31477b 100644 --- a/src/ship/packet/handler/direct_message.rs +++ b/src/ship/packet/handler/direct_message.rs @@ -82,7 +82,6 @@ where let client_and_drop = clients_in_area.into_iter() .filter_map(|area_client| { room.drop_table.get_drop(&monster.map_area, &monster.monster).map(|item_drop_type| { - warn!("drop is? {:?}", item_drop_type); (area_client, item_drop_type) }) }); @@ -180,7 +179,6 @@ EG: EntityGateway let client_and_drop = clients_in_area.into_iter() .filter_map(|area_client| { room.drop_table.get_box_drop(&box_object.map, &box_object).map(|item_drop_type| { - warn!("drop is? {:?}", item_drop_type); (area_client, item_drop_type) }) });