Fix interact bug
This commit is contained in:
parent
05b67b8a0d
commit
43c9168330
@ -715,6 +715,7 @@ pub async fn process_command(
|
|||||||
return "Successfully interacted with player!".to_string();
|
return "Successfully interacted with player!".to_string();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return "Unable to find entity!".to_string();
|
||||||
}
|
}
|
||||||
Command::Attack => {
|
Command::Attack => {
|
||||||
if segments.len() < 1 {
|
if segments.len() < 1 {
|
||||||
@ -761,6 +762,7 @@ pub async fn process_command(
|
|||||||
return "Successfully attacked player!".to_string();
|
return "Successfully attacked player!".to_string();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return "Unable to find entity!".to_string();
|
||||||
}
|
}
|
||||||
Command::Jump => {
|
Command::Jump => {
|
||||||
client.jump();
|
client.jump();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user