aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/loading.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/loading.rs
parent2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff)
downloadazalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/src/plugins/loading.rs')
-rw-r--r--azalea-client/src/plugins/loading.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/loading.rs b/azalea-client/src/plugins/loading.rs
index 86c2b2de..45735f3b 100644
--- a/azalea-client/src/plugins/loading.rs
+++ b/azalea-client/src/plugins/loading.rs
@@ -5,7 +5,7 @@ use azalea_protocol::packets::game::ServerboundPlayerLoaded;
use bevy_app::{App, Plugin};
use bevy_ecs::prelude::*;
-use crate::{mining::MiningSet, packet::game::SendPacketEvent};
+use crate::{mining::MiningSet, packet::game::SendGamePacketEvent};
pub struct PlayerLoadedPlugin;
impl Plugin for PlayerLoadedPlugin {
@@ -45,7 +45,7 @@ pub fn player_loaded_packet(
>,
) {
for entity in query.iter() {
- commands.trigger(SendPacketEvent::new(entity, ServerboundPlayerLoaded));
+ commands.trigger(SendGamePacketEvent::new(entity, ServerboundPlayerLoaded));
commands.entity(entity).insert(HasClientLoaded);
}
}