aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/attack.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-10-04 12:52:57 -0300
committermat <git@matdoes.dev>2025-10-04 12:52:57 -0300
commit43f20b821ce26af148156e705f4c1fd3f956beb5 (patch)
treebfe797e92cd496f4cee59bb078d378909a3823ed /azalea-client/src/plugins/attack.rs
parenta7e2f92b169d6079ba09b2190fefd2d539024a68 (diff)
downloadazalea-drasl-43f20b821ce26af148156e705f4c1fd3f956beb5.tar.xz
upgrade deps and rename SystemSets to follow bevy's new naming convention
Diffstat (limited to 'azalea-client/src/plugins/attack.rs')
-rw-r--r--azalea-client/src/plugins/attack.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/azalea-client/src/plugins/attack.rs b/azalea-client/src/plugins/attack.rs
index 26b5f34d..0e7cfeb8 100644
--- a/azalea-client/src/plugins/attack.rs
+++ b/azalea-client/src/plugins/attack.rs
@@ -3,7 +3,7 @@ use azalea_entity::{
Attributes, Crouching, Physics, indexing::EntityIdIndex, metadata::Sprinting,
update_bounding_box,
};
-use azalea_physics::PhysicsSet;
+use azalea_physics::PhysicsSystems;
use azalea_protocol::packets::game::s_interact::{self, ServerboundInteract};
use bevy_app::{App, Plugin, Update};
use bevy_ecs::prelude::*;
@@ -12,7 +12,7 @@ use tracing::warn;
use super::packet::game::SendGamePacketEvent;
use crate::{
- Client, interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSet,
+ Client, interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSystems,
respawn::perform_respawn,
};
@@ -24,14 +24,14 @@ impl Plugin for AttackPlugin {
Update,
handle_attack_event
.before(update_bounding_box)
- .before(MoveEventsSet)
+ .before(MoveEventsSystems)
.after(perform_respawn),
)
.add_systems(
GameTick,
(
increment_ticks_since_last_attack,
- update_attack_strength_scale.after(PhysicsSet),
+ update_attack_strength_scale.after(PhysicsSystems),
handle_attack_queued
.before(super::tick_end::game_tick_packet)
.after(super::movement::send_sprinting_if_needed)