From f311ac27d47c43eb4c33d760f3e1d1f2b8008a4f Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 3 Jun 2025 22:01:50 +0330 Subject: send ServerboundPlayerLoaded on join and respawn --- azalea-client/src/plugins/disconnect.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'azalea-client/src/plugins/disconnect.rs') diff --git a/azalea-client/src/plugins/disconnect.rs b/azalea-client/src/plugins/disconnect.rs index c6c01e35..8dddff09 100644 --- a/azalea-client/src/plugins/disconnect.rs +++ b/azalea-client/src/plugins/disconnect.rs @@ -10,7 +10,7 @@ use tracing::info; use super::login::IsAuthenticated; use crate::{ - chat_signing, client::JoinedClientBundle, connection::RawConnection, + chat_signing, client::JoinedClientBundle, connection::RawConnection, loading::HasClientLoaded, local_player::InstanceHolder, }; @@ -69,6 +69,8 @@ pub struct RemoveOnDisconnectBundle { pub chat_signing_session: chat_signing::ChatSigningSession, /// They're not authenticated anymore if they disconnected. pub is_authenticated: IsAuthenticated, + // send ServerboundPlayerLoaded next time we join + pub has_client_loaded: HasClientLoaded, } /// A system that removes the several components from our clients when they get -- cgit v1.2.3