From cadc5605ec143d391382a77a431b55b44f5c5153 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 26 Feb 2024 17:13:05 -0600 Subject: make recalculate_near_end_of_path public so other plugins can do .after(recalculate_near_end_of_path) --- azalea/src/pathfinder/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index 360c4df5..a1bdaaad 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -618,7 +618,7 @@ fn check_for_path_obstruction( } } -fn recalculate_near_end_of_path( +pub fn recalculate_near_end_of_path( mut query: Query<(Entity, &mut Pathfinder, &mut ExecutingPath)>, mut walk_events: EventWriter, mut goto_events: EventWriter, -- cgit v1.2.3