From ddd0f33cb529f44e0eb0bc230977571cae7ae3a1 Mon Sep 17 00:00:00 2001 From: Condorra Date: Mon, 20 Feb 2023 17:42:44 +1100 Subject: [PATCH] Don't merge wielded items with others. --- blastmud_game/src/message_handler/user_commands/look.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blastmud_game/src/message_handler/user_commands/look.rs b/blastmud_game/src/message_handler/user_commands/look.rs index fc1c57c..0e5fe67 100644 --- a/blastmud_game/src/message_handler/user_commands/look.rs +++ b/blastmud_game/src/message_handler/user_commands/look.rs @@ -50,7 +50,7 @@ pub async fn describe_normal_item(ctx: &VerbContext<'_>, item: &Item) -> UResult let all_groups: Vec>> = 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::>>()) .collect::>>>();