Fix interact bug

This commit is contained in:
ErrorNoInternet 2023-02-22 20:50:45 +08:00
parent 05b67b8a0d
commit 43c9168330
Signed by untrusted user who does not match committer: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

View File

@ -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();