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/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-client/src/client.rs') diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 6faca385..efc911c0 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -60,7 +60,7 @@ use crate::{ local_player::{Hunger, InstanceHolder, PermissionLevel, TabList}, mining::{self}, movement::LastSentLookDirection, - packet::game::SendPacketEvent, + packet::game::SendGamePacketEvent, player::{GameProfileComponent, PlayerInfo, retroactively_add_game_profile_component}, }; @@ -236,7 +236,7 @@ impl Client { self.ecs .lock() .commands() - .trigger(SendPacketEvent::new(self.entity, packet)); + .trigger(SendGamePacketEvent::new(self.entity, packet)); } /// Disconnect this client from the server by ending all tasks. -- cgit v1.2.3