diff options
| author | mat <git@matdoes.dev> | 2025-09-29 02:01:50 +0700 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-09-29 02:01:50 +0700 |
| commit | a80d8d1b242430c4a251876fa67bfd26af7a0de9 (patch) | |
| tree | e683100c2f68fed0729dbaa12e7ef189189350be /azalea-client/src/plugins/inventory.rs | |
| parent | 2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff) | |
| download | azalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz | |
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/src/plugins/inventory.rs')
| -rw-r--r-- | azalea-client/src/plugins/inventory.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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, |
