Skip to content

Commit

Permalink
Remove Craft & Ender Chest commands
Browse files Browse the repository at this point in the history
This was a temporary solution. Since b82a4e1 now is merged we can remove them
  • Loading branch information
Snowiiii committed Dec 7, 2024
1 parent e02f058 commit 7c90ef9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 98 deletions.
45 changes: 0 additions & 45 deletions pumpkin/src/command/commands/cmd_craft.rs

This file was deleted.

46 changes: 0 additions & 46 deletions pumpkin/src/command/commands/cmd_echest.rs

This file was deleted.

Empty file.
2 changes: 0 additions & 2 deletions pumpkin/src/command/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
pub mod cmd_bossbar;
pub mod cmd_clear;
pub mod cmd_craft;
pub mod cmd_echest;
pub mod cmd_fill;
pub mod cmd_gamemode;
pub mod cmd_give;
Expand Down
7 changes: 2 additions & 5 deletions pumpkin/src/command/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ use crate::world::World;
use args::ConsumedArgs;
use async_trait::async_trait;
use commands::{
cmd_clear, cmd_craft, cmd_echest, cmd_fill, cmd_gamemode, cmd_give, cmd_help, cmd_kick,
cmd_kill, cmd_list, cmd_pumpkin, cmd_say, cmd_setblock, cmd_stop, cmd_teleport, cmd_time,
cmd_worldborder,
cmd_clear, cmd_fill, cmd_gamemode, cmd_give, cmd_help, cmd_kick, cmd_kill, cmd_list,
cmd_pumpkin, cmd_say, cmd_setblock, cmd_stop, cmd_teleport, cmd_time, cmd_worldborder,
};
use dispatcher::CommandError;
use pumpkin_core::math::vector3::Vector3;
Expand Down Expand Up @@ -117,8 +116,6 @@ pub fn default_dispatcher<'a>() -> Arc<CommandDispatcher<'a>> {
dispatcher.register(cmd_gamemode::init_command_tree());
dispatcher.register(cmd_stop::init_command_tree());
dispatcher.register(cmd_help::init_command_tree());
dispatcher.register(cmd_echest::init_command_tree());
dispatcher.register(cmd_craft::init_command_tree());
dispatcher.register(cmd_kill::init_command_tree());
dispatcher.register(cmd_kick::init_command_tree());
dispatcher.register(cmd_worldborder::init_command_tree());
Expand Down

0 comments on commit 7c90ef9

Please sign in to comment.