diff options
| author | mat <git@matdoes.dev> | 2025-06-03 22:01:50 +0330 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-03 22:01:50 +0330 |
| commit | f311ac27d47c43eb4c33d760f3e1d1f2b8008a4f (patch) | |
| tree | 0528f06cda48a5e3062d9348604ff2c01ed30cfa /azalea-client/src/plugins/disconnect.rs | |
| parent | 415c0d873e7e793bbc8304247b828355d3ea8118 (diff) | |
| download | azalea-drasl-f311ac27d47c43eb4c33d760f3e1d1f2b8008a4f.tar.xz | |
send ServerboundPlayerLoaded on join and respawn
Diffstat (limited to 'azalea-client/src/plugins/disconnect.rs')
| -rw-r--r-- | azalea-client/src/plugins/disconnect.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
