From f8740479e045e740ebaeaf85b38fdae08ca04a9c Mon Sep 17 00:00:00 2001 From: Alerty2 Date: Tue, 1 Oct 2024 21:19:29 +0200 Subject: [PATCH] adds the /kick command --- pumpkin/src/commands/cmd_kill.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/pumpkin/src/commands/cmd_kill.rs b/pumpkin/src/commands/cmd_kill.rs index 9f1e3f205..d3b8135e6 100644 --- a/pumpkin/src/commands/cmd_kill.rs +++ b/pumpkin/src/commands/cmd_kill.rs @@ -19,9 +19,6 @@ pub(crate) fn init_command_tree<'a>() -> CommandTree<'a> { argument(ARG_TARGET, consume_arg_target).execute(&|sender, server, args| { let target = parse_arg_player(sender, server, ARG_TARGET, args)?; target.entity.kill(); - target.send_system_message( - TextComponent::text("You have been killed.").color_named(NamedColor::Red), - ); sender.send_message( TextComponent::text("Player has been killed.").color_named(NamedColor::Blue),