From 100f313c491ff039536fa3e663bf5a47462f2f33 Mon Sep 17 00:00:00 2001 From: Alerty2 Date: Sun, 29 Sep 2024 17:15:10 +0200 Subject: [PATCH] adds the /kill command --- pumpkin/src/commands/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pumpkin/src/commands/mod.rs b/pumpkin/src/commands/mod.rs index 17393346e..f3e260add 100644 --- a/pumpkin/src/commands/mod.rs +++ b/pumpkin/src/commands/mod.rs @@ -13,6 +13,7 @@ mod cmd_gamemode; mod cmd_help; mod cmd_pumpkin; mod cmd_stop; +mod cmd_kill; pub mod dispatcher; mod tree; mod tree_builder; @@ -75,6 +76,7 @@ pub fn default_dispatcher<'a>() -> CommandDispatcher<'a> { dispatcher.register(cmd_stop::init_command_tree()); dispatcher.register(cmd_help::init_command_tree()); dispatcher.register(cmd_echest::init_command_tree()); + dispatcher.register(cmd_kill::init_command_tree()); dispatcher }