From a80d8d1b242430c4a251876fa67bfd26af7a0de9 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 29 Sep 2025 02:01:50 +0700 Subject: rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent --- azalea-client/src/plugins/loading.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-client/src/plugins/loading.rs') 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); } } -- cgit v1.2.3