From 0817382098128adcecb77756a3c7cd1bd0066057 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 27 Nov 2024 10:26:40 +0000 Subject: replace once_cell with std:;sync::LazyLock --- azalea/src/pathfinder/goals.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea/src') 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}; -- cgit v1.2.3