aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
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/src/client.rs
parent2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (diff)
downloadazalea-drasl-a80d8d1b242430c4a251876fa67bfd26af7a0de9.tar.xz
rename SendPacketEvent to SendGamePacketEvent and PingEvent to GamePingEvent
Diffstat (limited to 'azalea-client/src/client.rs')
-rw-r--r--azalea-client/src/client.rs4
1 files changed, 2 insertions, 2 deletions
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.