diff options
Diffstat (limited to 'azalea-client/src/plugins/packet')
| -rw-r--r-- | azalea-client/src/plugins/packet/game/mod.rs | 18 |
1 files changed, 16 insertions, 2 deletions
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) { |
