aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/attack.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-09-29 02:01:50 +0700
committermat <git@matdoes.dev>2025-09-29 02:01:50 +0700
commita80d8d1b242430c4a251876fa67bfd26af7a0de9 (patch)
treee683100c2f68fed0729dbaa12e7ef189189350be /azalea-client/src/plugins/attack.rs
parent2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff)
downloadazalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/src/plugins/attack.rs')
-rw-r--r--azalea-client/src/plugins/attack.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/attack.rs b/azalea-client/src/plugins/attack.rs
index 47e45896..26b5f34d 100644
--- a/azalea-client/src/plugins/attack.rs
+++ b/azalea-client/src/plugins/attack.rs
@@ -10,7 +10,7 @@ use bevy_ecs::prelude::*;
use derive_more::{Deref, DerefMut};
use tracing::warn;
-use super::packet::game::SendPacketEvent;
+use super::packet::game::SendGamePacketEvent;
use crate::{
Client, interact::SwingArmEvent, local_player::LocalGameMode, movement::MoveEventsSet,
respawn::perform_respawn,
@@ -121,7 +121,7 @@ pub fn handle_attack_queued(
commands.entity(client_entity).remove::<AttackQueued>();
- commands.trigger(SendPacketEvent::new(
+ commands.trigger(SendGamePacketEvent::new(
client_entity,
ServerboundInteract {
entity_id: target_entity_id,