diff options
| author | mat <github@matdoes.dev> | 2022-11-18 22:10:34 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-11-18 22:10:34 -0600 |
| commit | 6c6eb5572b869e3199adc560b101fa663c01b5d2 (patch) | |
| tree | 0d2b92c6ea08ed383845d6306747ed399b6a91ea /azalea/src | |
| parent | 7ad4b227267e3bb2da99ef5d76c30cd54d040157 (diff) | |
| download | azalea-drasl-6c6eb5572b869e3199adc560b101fa663c01b5d2.tar.xz | |
clippy + replace some printlns with debug
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