From 43c91683306f2a1baae7788f96d70d596de9766f Mon Sep 17 00:00:00 2001 From: ErrorNoInternet Date: Wed, 22 Feb 2023 20:50:45 +0800 Subject: [PATCH] Fix interact bug --- src/bot.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bot.rs b/src/bot.rs index 18cbb10..6e917aa 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -715,6 +715,7 @@ pub async fn process_command( return "Successfully interacted with player!".to_string(); } } + return "Unable to find entity!".to_string(); } Command::Attack => { if segments.len() < 1 { @@ -761,6 +762,7 @@ pub async fn process_command( return "Successfully attacked player!".to_string(); } } + return "Unable to find entity!".to_string(); } Command::Jump => { client.jump();