From 4562967b617589cb5aa7b401103e84fbb6b0775c Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 1 Feb 2025 21:26:37 +0000 Subject: set player metadata on init instead of login --- azalea-client/src/client.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'azalea-client/src/client.rs') diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 7c1aca78..1f8ebb53 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -325,6 +325,7 @@ impl Client { game_profile: GameProfileComponent(game_profile), client_information: crate::ClientInformation::default(), instance_holder, + metadata: azalea_entity::metadata::PlayerMetadataBundle::default(), }, InConfigState, )); @@ -729,6 +730,8 @@ pub struct LocalPlayerBundle { pub game_profile: GameProfileComponent, pub client_information: ClientInformation, pub instance_holder: InstanceHolder, + + pub metadata: azalea_entity::metadata::PlayerMetadataBundle, } /// A bundle for the components that are present on a local player that is -- cgit v1.2.3