aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/packet/game/mod.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-30 00:02:36 +0500
committermat <git@matdoes.dev>2026-01-30 00:02:36 +0500
commit6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103 (patch)
tree6e09534e5f9119da4bf0712560bde892b49b5384 /azalea-client/src/plugins/packet/game/mod.rs
parentb0d0bd17f5978abb4e69ce5391622799e2185992 (diff)
downloadazalea-drasl-6c0be6913dd0bcbb7e17a3e2a4daa45fcc8f5103.tar.xz
warn if pathfinder is running without optimizations, and other minor fixes
Diffstat (limited to 'azalea-client/src/plugins/packet/game/mod.rs')
-rw-r--r--azalea-client/src/plugins/packet/game/mod.rs10
1 files changed, 5 insertions, 5 deletions
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) {