aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-17 11:44:04 -1345
committermat <git@matdoes.dev>2026-01-17 11:44:04 -1345
commit81e5a0200a4fe5438ab67c82600f063410d637c0 (patch)
tree9cb38f58a56293c52ba131907ad23b18a0319af0 /azalea/examples
parent56bf94ac9ec5614ddc4ab5168a8c3fb5036242a5 (diff)
downloadazalea-drasl-81e5a0200a4fe5438ab67c82600f063410d637c0.tar.xz
rename PathfinderCtx to MovesCtx
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/testbot/commands/debug.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs
index ac1f31e9..12f6d362 100644
--- a/azalea/examples/testbot/commands/debug.rs
+++ b/azalea/examples/testbot/commands/debug.rs
@@ -10,7 +10,7 @@ use azalea::{
packet::game,
pathfinder::{
ExecutingPath, Pathfinder, custom_state::CustomPathfinderStateRef, mining::MiningCache,
- moves::PathfinderCtx, positions::RelBlockPos, world::CachedWorld,
+ moves::MovesCtx, positions::RelBlockPos, world::CachedWorld,
},
};
use azalea_core::hit_result::HitResult;
@@ -205,7 +205,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) {
let custom_state = CustomPathfinderStateRef::default();
azalea::pathfinder::moves::default_move(
- &mut PathfinderCtx {
+ &mut MovesCtx {
edges: &mut edges,
world: &cached_world,
mining_cache: &mining_cache,