aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/simulation.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-18 19:18:58 -0530
committermat <git@matdoes.dev>2026-01-19 12:21:28 +0930
commit544ea6ad46d7f4d621104a9063dbbe1c85284111 (patch)
treee205102e9d1948cbbede21b0058e111aa2d8017a /azalea/src/pathfinder/simulation.rs
parenta08af6f2787ce3b04a7b369170254b00ac208375 (diff)
downloadazalea-drasl-544ea6ad46d7f4d621104a9063dbbe1c85284111.tar.xz
delay initialization of cached_mining_costs in pathfinder
Diffstat (limited to 'azalea/src/pathfinder/simulation.rs')
-rw-r--r--azalea/src/pathfinder/simulation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs
index 2afbbfad..72e5e048 100644
--- a/azalea/src/pathfinder/simulation.rs
+++ b/azalea/src/pathfinder/simulation.rs
@@ -118,7 +118,7 @@ fn create_simulation_player_complete_bundle(
)
}
-fn create_simulation_player(
+pub fn create_simulation_player(
ecs: &mut bevy_ecs::world::World,
world: Arc<RwLock<World>>,
player: SimulatedPlayerBundle,