diff options
| author | mat <git@matdoes.dev> | 2026-01-30 00:02:36 +0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-30 00:02:36 +0500 |
| commit | 6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103 (patch) | |
| tree | 6e09534e5f9119da4bf0712560bde892b49b5384 /azalea-client/src/plugins/packet/game | |
| parent | b0d0bd17f5978abb4e69ce5391622799e2185992 (diff) | |
| download | azalea-drasl-6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103.tar.xz | |
warn if pathfinder is running without optimizations, and other minor fixes
Diffstat (limited to 'azalea-client/src/plugins/packet/game')
| -rw-r--r-- | azalea-client/src/plugins/packet/game/events.rs | 2 | ||||
| -rw-r--r-- | azalea-client/src/plugins/packet/game/mod.rs | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/azalea-client/src/plugins/packet/game/events.rs b/azalea-client/src/plugins/packet/game/events.rs index 4a919382..bc070ec8 100644 --- a/azalea-client/src/plugins/packet/game/events.rs +++ b/azalea-client/src/plugins/packet/game/events.rs @@ -2,8 +2,8 @@ use std::sync::{Arc, Weak}; use azalea_chat::FormattedText; use azalea_protocol::packets::{ - game::{ClientboundGamePacket, ClientboundPlayerCombatKill, ServerboundGamePacket}, Packet, + game::{ClientboundGamePacket, ClientboundPlayerCombatKill, ServerboundGamePacket}, }; use azalea_world::{World, WorldName}; use bevy_ecs::prelude::*; 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) { |
