clipster
This commit is contained in:
parent
1ea1bbc226
commit
905bc583c0
@ -664,7 +664,7 @@ impl From<ItemNote> for PgItemNoteDetail {
|
||||
},
|
||||
ItemNote::FloorLimitReached { map_area } => {
|
||||
PgItemNoteDetail::FloorLimitReached {
|
||||
map_area: map_area,
|
||||
map_area,
|
||||
}
|
||||
},
|
||||
}
|
||||
@ -712,7 +712,7 @@ impl From<PgItemNoteDetail> for ItemNote {
|
||||
bank,
|
||||
},
|
||||
PgItemNoteDetail::FloorLimitReached { map_area } => ItemNote::FloorLimitReached {
|
||||
map_area: map_area,
|
||||
map_area,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,6 @@ pub mod esweapon;
|
||||
|
||||
use serde::{Serialize, Deserialize};
|
||||
use crate::entity::character::CharacterEntityId;
|
||||
use crate::ship::items::ClientItemId;
|
||||
use crate::ship::map::MapArea;
|
||||
use crate::ship::drops::ItemDropType;
|
||||
|
||||
|
@ -1161,7 +1161,9 @@ where
|
||||
Box::pin(async move {
|
||||
let transaction = floor_item.with_entity_id(transaction, |mut transaction, entity_id| {
|
||||
async move {
|
||||
transaction.gateway().add_item_note(&entity_id, ItemNote::FloorLimitReached { map_area: map_area }).await?;
|
||||
transaction.gateway().add_item_note(&entity_id, ItemNote::FloorLimitReached {
|
||||
map_area
|
||||
}).await?;
|
||||
Ok(transaction)
|
||||
}}).await?;
|
||||
Ok(((item_state, transaction), ()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user