aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/attack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/attack.rs')
-rw-r--r--azalea-client/src/attack.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/azalea-client/src/attack.rs b/azalea-client/src/attack.rs
index f626483f..0f5a8305 100644
--- a/azalea-client/src/attack.rs
+++ b/azalea-client/src/attack.rs
@@ -1,7 +1,8 @@
use azalea_core::{game_type::GameMode, tick::GameTick};
use azalea_entity::{
+ Attributes, Physics,
metadata::{ShiftKeyDown, Sprinting},
- update_bounding_box, Attributes, Physics,
+ update_bounding_box,
};
use azalea_physics::PhysicsSet;
use azalea_protocol::packets::game::s_interact::{self, ServerboundInteract};
@@ -11,8 +12,8 @@ use bevy_ecs::prelude::*;
use derive_more::{Deref, DerefMut};
use crate::{
- interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSet,
- packet_handling::game::SendPacketEvent, respawn::perform_respawn, Client,
+ Client, interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSet,
+ packet_handling::game::SendPacketEvent, respawn::perform_respawn,
};
pub struct AttackPlugin;