diff options
Diffstat (limited to 'azalea/src/pathfinder')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 90b506e9..155261cc 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -66,9 +66,9 @@ use self::{ moves::{ExecuteCtx, IsReachedCtx, SuccessorsFn}, }; use crate::{ - WalkDirection, + Client, WalkDirection, app::{App, Plugin}, - bot::{BotClientExt, JumpEvent, LookAtEvent}, + bot::{JumpEvent, LookAtEvent}, ecs::{ component::Component, entity::Entity, @@ -229,7 +229,7 @@ pub trait PathfinderClientExt { fn is_goto_target_reached(&self) -> bool; } -impl PathfinderClientExt for azalea_client::Client { +impl PathfinderClientExt for Client { async fn goto(&self, goal: impl Goal + 'static) { self.goto_with_opts(goal, PathfinderOpts::new()).await; } |
