aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/plugins/packet/game/mod.rs18
-rw-r--r--azalea-client/src/plugins/tick_counter.rs1
2 files changed, 16 insertions, 3 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) {
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::*;