From 45f89b48e425262974a993adc0774dcbcad397fa Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 24 Jul 2025 03:54:33 -0330 Subject: 1.21.8 --- azalea-client/src/plugins/packet/game/mod.rs | 18 ++++++++++++++++-- azalea-client/src/plugins/tick_counter.rs | 1 - 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'azalea-client/src/plugins') diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs index b7886208..1fa3e109 100644 --- a/azalea-client/src/plugins/packet/game/mod.rs +++ b/azalea-client/src/plugins/packet/game/mod.rs @@ -22,9 +22,23 @@ pub use events::*; use tracing::{debug, error, trace, warn}; use crate::{ - block_update::QueuedServerBlockUpdates, chat::{ChatPacket, ChatReceivedEvent}, chunks, connection::RawConnection, declare_packet_handlers, disconnect::DisconnectEvent, interact::BlockStatePredictionHandler, inventory::{ + ClientInformation, + block_update::QueuedServerBlockUpdates, + chat::{ChatPacket, ChatReceivedEvent}, + chunks, + connection::RawConnection, + declare_packet_handlers, + disconnect::DisconnectEvent, + interact::BlockStatePredictionHandler, + inventory::{ ClientSideCloseContainerEvent, Inventory, MenuOpenedEvent, SetContainerContentEvent, - }, loading::HasClientLoaded, local_player::{Hunger, InstanceHolder, LocalGameMode, PlayerAbilities, TabList}, movement::{KnockbackEvent, KnockbackType}, packet::as_system, player::{GameProfileComponent, PlayerInfo}, tick_counter::TicksConnected, ClientInformation + }, + loading::HasClientLoaded, + local_player::{Hunger, InstanceHolder, LocalGameMode, PlayerAbilities, TabList}, + movement::{KnockbackEvent, KnockbackType}, + packet::as_system, + player::{GameProfileComponent, PlayerInfo}, + tick_counter::TicksConnected, }; pub fn process_packet(ecs: &mut World, player: Entity, packet: &ClientboundGamePacket) { diff --git a/azalea-client/src/plugins/tick_counter.rs b/azalea-client/src/plugins/tick_counter.rs index 21515959..dd65ca69 100644 --- a/azalea-client/src/plugins/tick_counter.rs +++ b/azalea-client/src/plugins/tick_counter.rs @@ -1,7 +1,6 @@ use azalea_core::tick::GameTick; use azalea_physics::PhysicsSet; use azalea_world::InstanceName; - use bevy_app::{App, Plugin}; use bevy_ecs::prelude::*; -- cgit v1.2.3