diff options
Diffstat (limited to 'azalea-client/src/plugins/loading.rs')
| -rw-r--r-- | azalea-client/src/plugins/loading.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/loading.rs b/azalea-client/src/plugins/loading.rs index 86c2b2de..45735f3b 100644 --- a/azalea-client/src/plugins/loading.rs +++ b/azalea-client/src/plugins/loading.rs @@ -5,7 +5,7 @@ use azalea_protocol::packets::game::ServerboundPlayerLoaded; use bevy_app::{App, Plugin}; use bevy_ecs::prelude::*; -use crate::{mining::MiningSet, packet::game::SendPacketEvent}; +use crate::{mining::MiningSet, packet::game::SendGamePacketEvent}; pub struct PlayerLoadedPlugin; impl Plugin for PlayerLoadedPlugin { @@ -45,7 +45,7 @@ pub fn player_loaded_packet( >, ) { for entity in query.iter() { - commands.trigger(SendPacketEvent::new(entity, ServerboundPlayerLoaded)); + commands.trigger(SendGamePacketEvent::new(entity, ServerboundPlayerLoaded)); commands.entity(entity).insert(HasClientLoaded); } } |
