diff options
Diffstat (limited to 'azalea/src/pathfinder/moves')
| -rw-r--r-- | azalea/src/pathfinder/moves/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/moves/mod.rs b/azalea/src/pathfinder/moves/mod.rs index bf1fc5f4..e5b837ea 100644 --- a/azalea/src/pathfinder/moves/mod.rs +++ b/azalea/src/pathfinder/moves/mod.rs @@ -5,7 +5,7 @@ use std::fmt::Debug; use crate::{JumpEvent, LookAtEvent}; -use super::{astar, world::CachedWorld}; +use super::{astar, mining::MiningCache, world::CachedWorld}; use azalea_client::{SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection}; use azalea_core::position::{BlockPos, Vec3}; use bevy_ecs::{entity::Entity, event::EventWriter}; @@ -107,4 +107,5 @@ pub fn default_is_reached( pub struct PathfinderCtx<'a> { pub edges: &'a mut Vec<Edge>, pub world: &'a CachedWorld, + pub mining_cache: &'a MiningCache, } |
