diff options
| author | mat <git@matdoes.dev> | 2026-01-17 11:44:04 -1345 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-17 11:44:04 -1345 |
| commit | 81e5a0200a4fe5438ab67c82600f063410d637c0 (patch) | |
| tree | 9cb38f58a56293c52ba131907ad23b18a0319af0 /azalea/src/pathfinder/mod.rs | |
| parent | 56bf94ac9ec5614ddc4ab5168a8c3fb5036242a5 (diff) | |
| download | azalea-drasl-81e5a0200a4fe5438ab67c82600f063410d637c0.tar.xz | |
rename PathfinderCtx to MovesCtx
Diffstat (limited to 'azalea/src/pathfinder/mod.rs')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 41887bfd..ee5c50c0 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -64,7 +64,7 @@ use crate::{ query::{With, Without}, system::{Commands, Query, Res}, }, - pathfinder::{astar::a_star, moves::PathfinderCtx, world::CachedWorld}, + pathfinder::{astar::a_star, moves::MovesCtx, world::CachedWorld}, }; #[derive(Clone, Default)] @@ -728,7 +728,7 @@ pub fn call_successors_fn( pos: RelBlockPos, ) -> Vec<astar::Edge<RelBlockPos, moves::MoveData>> { let mut edges = Vec::with_capacity(16); - let mut ctx = PathfinderCtx { + let mut ctx = MovesCtx { edges: &mut edges, world: cached_world, mining_cache, |
