diff --git a/src/ship/items/actions.rs b/src/ship/items/actions.rs index 18c52ca..f9844bb 100644 --- a/src/ship/items/actions.rs +++ b/src/ship/items/actions.rs @@ -26,9 +26,6 @@ use crate::ship::drops::{ItemDrop, ItemDropType}; use crate::ship::packet::builder; use crate::ship::location::AreaClient; -//type BoxFuture = Pin + Send>>; -//type LBoxFuture<'a, T> = Pin + Send + 'a>>; - pub enum TriggerCreateItem { Yes, No diff --git a/src/ship/items/itemstateaction.rs b/src/ship/items/itemstateaction.rs index fdbbc8f..829acfe 100644 --- a/src/ship/items/itemstateaction.rs +++ b/src/ship/items/itemstateaction.rs @@ -1,5 +1,4 @@ use std::future::Future; -use futures::future::BoxFuture; #[async_trait::async_trait] pub trait ItemAction { diff --git a/src/ship/items/tasks.rs b/src/ship/items/tasks.rs index 89ad6b4..3e0cf6a 100644 --- a/src/ship/items/tasks.rs +++ b/src/ship/items/tasks.rs @@ -1,4 +1,4 @@ -use futures::future::{Future, BoxFuture}; +use futures::future::BoxFuture; use crate::ship::items::ClientItemId; use crate::entity::item::Meseta; @@ -18,7 +18,6 @@ use crate::ship::drops::ItemDrop; use crate::ship::items::actions; -//pub async fn pick_up_item<'a, EG>( pub fn pick_up_item<'a, EG>( item_state: &'a mut ItemState, entity_gateway: &'a mut EG,