diff --git a/pumpkin/src/command/commands/give.rs b/pumpkin/src/command/commands/give.rs index 82f711d52..fb9af5b38 100644 --- a/pumpkin/src/command/commands/give.rs +++ b/pumpkin/src/command/commands/give.rs @@ -92,7 +92,7 @@ impl CommandExecutor for Executor { .add_child(TextComponent::text("]")) .hover_event(HoverEvent::ShowItem { id: item_name.to_string().into(), - count: Some(item_count), + count: Some(item_count.min(99)), }), targets[0].get_display_name().await, ], @@ -108,7 +108,7 @@ impl CommandExecutor for Executor { .add_child(TextComponent::text("]")) .hover_event(HoverEvent::ShowItem { id: item_name.to_string().into(), - count: Some(item_count), + count: Some(item_count.min(99)), }), TextComponent::text(targets.len().to_string()), ],