Don't merge wielded items with others.
This commit is contained in:
parent
d5314c981e
commit
ddd0f33cb5
@ -50,7 +50,7 @@ pub async fn describe_normal_item(ctx: &VerbContext<'_>, item: &Item) -> UResult
|
||||
|
||||
let all_groups: Vec<Vec<&Arc<Item>>> = items
|
||||
.iter()
|
||||
.group_by(|i| i.display_for_sentence(true, 1, false))
|
||||
.group_by(|i| (i.display_for_sentence(true, 1, false), &i.action_type))
|
||||
.into_iter()
|
||||
.map(|(_, g)|g.collect::<Vec<&Arc<Item>>>())
|
||||
.collect::<Vec<Vec<&Arc<Item>>>>();
|
||||
|
Loading…
Reference in New Issue
Block a user