aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/tests
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-09-29 02:01:50 +0700
committermat <git@matdoes.dev>2025-09-29 02:01:50 +0700
commita80d8d1b242430c4a251876fa67bfd26af7a0de9 (patch)
treee683100c2f68fed0729dbaa12e7ef189189350be /azalea-client/tests
parent2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff)
downloadazalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/tests')
-rw-r--r--azalea-client/tests/reply_to_ping_with_pong.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/tests/reply_to_ping_with_pong.rs b/azalea-client/tests/reply_to_ping_with_pong.rs
index eac68e25..444ec41c 100644
--- a/azalea-client/tests/reply_to_ping_with_pong.rs
+++ b/azalea-client/tests/reply_to_ping_with_pong.rs
@@ -1,7 +1,7 @@
use std::sync::Arc;
use azalea_client::{
- packet::{config::SendConfigPacketEvent, game::SendPacketEvent},
+ packet::{config::SendConfigPacketEvent, game::SendGamePacketEvent},
test_utils::prelude::*,
};
use azalea_core::resource_location::ResourceLocation;
@@ -61,7 +61,7 @@ fn reply_to_ping_with_pong() {
let reply_count_clone = reply_count.clone();
simulation
.app
- .add_observer(move |send_game_packet: On<SendPacketEvent>| {
+ .add_observer(move |send_game_packet: On<SendGamePacketEvent>| {
if send_game_packet.sent_by == simulation.entity
&& let ServerboundGamePacket::Pong(packet) = &send_game_packet.packet
{