diff options
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 6f31512e..f119c645 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -6,6 +6,7 @@ use crate::{Client, Event}; use async_trait::async_trait; use azalea_core::{BlockPos, CardinalDirection}; use azalea_world::entity::EntityData; +use log::debug; use mtdstarlite::Edge; pub use mtdstarlite::MTDStarLite; use parking_lot::Mutex; @@ -47,7 +48,7 @@ impl Trait for azalea_client::Client { vertical_vel: VerticalVel::None, }; let end = goal.goal_node(); - println!("start: {:?}, end: {:?}", start, end); + debug!("start: {start:?}, end: {end:?}"); let possible_moves: Vec<&dyn moves::Move> = vec