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/chat | |
| parent | 2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff) | |
| download | azalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz | |
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/src/plugins/chat')
| -rw-r--r-- | azalea-client/src/plugins/chat/handler.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/chat/handler.rs b/azalea-client/src/plugins/chat/handler.rs index d71bcbd1..5a2a065c 100644 --- a/azalea-client/src/plugins/chat/handler.rs +++ b/azalea-client/src/plugins/chat/handler.rs @@ -8,7 +8,7 @@ use azalea_protocol::packets::{ use bevy_ecs::prelude::*; use super::ChatKind; -use crate::{Account, chat_signing::ChatSigningSession, packet::game::SendPacketEvent}; +use crate::{Account, chat_signing::ChatSigningSession, packet::game::SendGamePacketEvent}; /// Send a chat packet to the server of a specific kind (chat message or /// command). Usually you just want [`SendChatEvent`] instead. @@ -81,7 +81,7 @@ pub fn handle_send_chat_kind_event( } }; - commands.trigger(SendPacketEvent::new(event.entity, packet)); + commands.trigger(SendGamePacketEvent::new(event.entity, packet)); } } |
