aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/disconnect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/plugins/disconnect.rs')
-rw-r--r--azalea-client/src/plugins/disconnect.rs4
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