Give /dropall to mods again

This commit is contained in:
juliancoffee 2024-02-02 15:37:14 +02:00
parent d6a17366f1
commit dab058740b

View File

@ -554,9 +554,11 @@ impl ServerChatCommand {
"Disconnects all players from the server", "Disconnects all players from the server",
Some(Admin), Some(Admin),
), ),
ServerChatCommand::DropAll => { ServerChatCommand::DropAll => cmd(
cmd(vec![], "Drops all your items on the ground", Some(Admin)) vec![],
}, "Drops all your items on the ground",
Some(Moderator),
),
ServerChatCommand::Dummy => cmd(vec![], "Spawns a training dummy", Some(Admin)), ServerChatCommand::Dummy => cmd(vec![], "Spawns a training dummy", Some(Admin)),
ServerChatCommand::Explosion => cmd( ServerChatCommand::Explosion => cmd(
vec![Float("radius", 5.0, Required)], vec![Float("radius", 5.0, Required)],