From 34f53baf85fb5c7163ec5d71a8ab9d45d3f271b6 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 22 Feb 2025 23:01:54 +0000 Subject: update to rust edition 2024 --- azalea/src/pathfinder/simulation.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea/src/pathfinder/simulation.rs') diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs index 0067c19f..ab0e540a 100644 --- a/azalea/src/pathfinder/simulation.rs +++ b/azalea/src/pathfinder/simulation.rs @@ -2,10 +2,10 @@ use std::sync::Arc; -use azalea_client::{inventory::Inventory, packet_handling::game::SendPacketEvent, PhysicsState}; +use azalea_client::{PhysicsState, inventory::Inventory, packet_handling::game::SendPacketEvent}; use azalea_core::{position::Vec3, resource_location::ResourceLocation, tick::GameTick}; use azalea_entity::{ - attributes::AttributeInstance, Attributes, EntityDimensions, LookDirection, Physics, Position, + Attributes, EntityDimensions, LookDirection, Physics, Position, attributes::AttributeInstance, }; use azalea_registry::EntityKind; use azalea_world::{ChunkStorage, Instance, InstanceContainer, MinecraftEntityId, PartialInstance}; @@ -87,7 +87,7 @@ fn create_simulation_instance(chunks: ChunkStorage) -> (App, Arc>, player: &SimulatedPlayerBundle, -) -> impl Bundle { +) -> impl Bundle + use<> { let instance_name = simulation_instance_name(); ( -- cgit v1.2.3