From 6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 30 Jan 2026 00:02:36 +0500 Subject: warn if pathfinder is running without optimizations, and other minor fixes --- azalea-client/src/plugins/packet/game/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'azalea-client/src/plugins/packet/game/mod.rs') diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs index 1fdceddf..9a1c022b 100644 --- a/azalea-client/src/plugins/packet/game/mod.rs +++ b/azalea-client/src/plugins/packet/game/mod.rs @@ -8,15 +8,15 @@ use azalea_core::{ position::{ChunkPos, Vec3}, }; use azalea_entity::{ - indexing::{EntityIdIndex, EntityUuidIndex}, - inventory::Inventory, - metadata::{apply_metadata, Health}, ActiveEffects, Dead, EntityBundle, EntityKindComponent, HasClientLoaded, LoadedBy, LocalEntity, LookDirection, Physics, PlayerAbilities, Position, RelativeEntityUpdate, + indexing::{EntityIdIndex, EntityUuidIndex}, + inventory::Inventory, + metadata::{Health, apply_metadata}, }; use azalea_protocol::{ common::movements::MoveFlags, - packets::{game::*, ConnectionProtocol}, + packets::{ConnectionProtocol, game::*}, }; use azalea_registry::builtin::EntityKind; use azalea_world::{PartialWorld, WorldName, Worlds}; @@ -25,6 +25,7 @@ pub use events::*; use tracing::{debug, error, trace, warn}; use crate::{ + ClientInformation, block_update::QueuedServerBlockUpdates, chat::{ChatPacket, ChatReceivedEvent}, chunks, @@ -38,7 +39,6 @@ use crate::{ packet::{as_system, declare_packet_handlers}, player::{GameProfileComponent, PlayerInfo}, tick_counter::TicksConnected, - ClientInformation, }; pub fn process_packet(ecs: &mut World, player: Entity, packet: &ClientboundGamePacket) { -- cgit v1.2.3