aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/execute/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/execute/simulation.rs
parenta08af6f2787ce3b04a7b369170254b00ac208375 (diff)
downloadazalea-drasl-544ea6ad46d7f4d621104a9063dbbe1c85284111.tar.xz
delay initialization of cached_mining_costs in pathfinder
Diffstat (limited to 'azalea/src/pathfinder/execute/simulation.rs')
-rw-r--r--azalea/src/pathfinder/execute/simulation.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea/src/pathfinder/execute/simulation.rs b/azalea/src/pathfinder/execute/simulation.rs
index 8d884327..a002df4d 100644
--- a/azalea/src/pathfinder/execute/simulation.rs
+++ b/azalea/src/pathfinder/execute/simulation.rs
@@ -149,6 +149,7 @@ pub fn tick_execute_path(
Cow::Borrowed(simulating_path_state)
} else {
let start = Instant::now();
+
let new_state = run_simulations(
&executing_path,
world_holder,