diff options
| author | mat <git@matdoes.dev> | 2024-11-27 10:26:40 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-11-27 10:26:40 +0000 |
| commit | 0817382098128adcecb77756a3c7cd1bd0066057 (patch) | |
| tree | 623d9b297f9b5fdb2af74ab3c5a4fa5c1b72ff5b /azalea/src | |
| parent | dfdc3144b61b6750ad62fb493b7c00c6c820c90b (diff) | |
| download | azalea-drasl-0817382098128adcecb77756a3c7cd1bd0066057.tar.xz | |
replace once_cell with std:;sync::LazyLock
Diffstat (limited to 'azalea/src')
| -rw-r--r-- | azalea/src/pathfinder/goals.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/goals.rs b/azalea/src/pathfinder/goals.rs index 7e02d0cf..7e33f7d8 100644 --- a/azalea/src/pathfinder/goals.rs +++ b/azalea/src/pathfinder/goals.rs @@ -1,10 +1,11 @@ //! The goals that a pathfinder can try to reach. +use std::f32::consts::SQRT_2; + use azalea_core::position::{BlockPos, Vec3}; use azalea_world::ChunkStorage; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; -use std::f32::consts::SQRT_2; use super::costs::{COST_HEURISTIC, FALL_N_BLOCKS_COST, JUMP_ONE_BLOCK_COST}; |
