From 7461347d38d13a6aa39a379891bfa56c499b6f36 Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Mon, 30 Jan 2023 18:03:16 +0800 Subject: [PATCH] Add more aliases --- src/bot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bot.rs b/src/bot.rs index e331cda..469909d 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -99,8 +99,8 @@ pub async fn process_command( "jump" => command = Command::Jump, "walk" => command = Command::Walk, "sprint" => command = Command::Sprint, - "drop_item" => command = Command::DropItem, - "drop_stack" => command = Command::DropStack, + "drop_item" | "throw_item" => command = Command::DropItem, + "drop_stack" | "throw_stack" => command = Command::DropStack, "leave_bed" => command = Command::LeaveBed, "script" | "run" => command = Command::Script, "latency" | "ping" => command = Command::Latency,