aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
diff options
context:
space:
mode:
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.