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/inventory.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'azalea-client/src/plugins/inventory.rs') diff --git a/azalea-client/src/plugins/inventory.rs b/azalea-client/src/plugins/inventory.rs index 448f9e95..6902430e 100644 --- a/azalea-client/src/plugins/inventory.rs +++ b/azalea-client/src/plugins/inventory.rs @@ -23,7 +23,7 @@ use bevy_ecs::prelude::*; use indexmap::IndexMap; use tracing::{error, warn}; -use crate::{Client, packet::game::SendPacketEvent, respawn::perform_respawn}; +use crate::{Client, packet::game::SendGamePacketEvent, respawn::perform_respawn}; pub struct InventoryPlugin; impl Plugin for InventoryPlugin { @@ -764,7 +764,7 @@ fn handle_container_close_event( return; } - commands.trigger(SendPacketEvent::new( + commands.trigger(SendGamePacketEvent::new( entity, ServerboundContainerClose { container_id: inventory.id, @@ -873,7 +873,7 @@ pub fn handle_container_click_event( } } - commands.trigger(SendPacketEvent::new( + commands.trigger(SendGamePacketEvent::new( entity, ServerboundContainerClick { container_id: container_click.window_id, @@ -969,7 +969,7 @@ pub fn ensure_has_sent_carried_item( continue; } - commands.trigger(SendPacketEvent::new( + commands.trigger(SendGamePacketEvent::new( entity, ServerboundSetCarriedItem { slot: inventory.selected_hotbar_slot as u16, -- cgit v1.2.3