diff --git a/azalea/examples/testbot/main.rs b/azalea/examples/testbot/main.rs index 683a98d7..c25904cf 100644 --- a/azalea/examples/testbot/main.rs +++ b/azalea/examples/testbot/main.rs @@ -32,7 +32,7 @@ use std::{sync::Arc, thread}; use azalea::ClientInformation; use azalea::brigadier::command_dispatcher::CommandDispatcher; use azalea::ecs::prelude::*; -use azalea::pathfinder::PathfinderDebugParticles; +use azalea::pathfinder::debug::PathfinderDebugParticles; use azalea::prelude::*; use azalea::swarm::prelude::*; use commands::{CommandSource, register_commands}; diff --git a/azalea/src/pathfinder/debug.rs b/azalea/src/pathfinder/debug.rs index 98778cad..da27708d 100644 --- a/azalea/src/pathfinder/debug.rs +++ b/azalea/src/pathfinder/debug.rs @@ -10,7 +10,7 @@ use super::ExecutingPath; /// /// ``` /// # use azalea::prelude::*; -/// # use azalea::pathfinder::PathfinderDebugParticles; +/// # use azalea::pathfinder::debug::PathfinderDebugParticles; /// # #[derive(Component, Clone, Default)] /// # pub struct State; /// diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index f481350b..c747ef67 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -4,7 +4,7 @@ pub mod astar; pub mod costs; -mod debug; +pub mod debug; pub mod goals; pub mod mining; pub mod moves; @@ -43,7 +43,6 @@ use rel_block_pos::RelBlockPos; use tokio::sync::broadcast::error::RecvError; use tracing::{debug, error, info, trace, warn}; -pub use self::debug::PathfinderDebugParticles; use self::debug::debug_render_path_with_particles; use self::goals::Goal; use self::mining::MiningCache;