aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-10-06 15:23:36 -0500
committermat <git@matdoes.dev>2023-10-06 15:23:36 -0500
commit30702d94f65a2bd86c9ac0a7c402675b89ac4364 (patch)
tree1d4399d168e49479161f3dfa046a58442fcccb04 /azalea-client/src/client.rs
parent177864be60c08cb61fd577eb99ee5c99481fc03e (diff)
downloadazalea-drasl-30702d94f65a2bd86c9ac0a7c402675b89ac4364.tar.xz
fix QueryDoesNotMatch and improve error
Diffstat (limited to 'azalea-client/src/client.rs')
-rw-r--r--azalea-client/src/client.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 90d90e01..7c5cb82a 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -270,6 +270,7 @@ impl Client {
received_registries: ReceivedRegistries::default(),
local_player_events: LocalPlayerEvents(tx),
game_profile: GameProfileComponent(game_profile),
+ client_information: crate::ClientInformation::default(),
account: account.to_owned(),
},
InConfigurationState,
@@ -593,6 +594,7 @@ pub struct LocalPlayerBundle {
pub received_registries: ReceivedRegistries,
pub local_player_events: LocalPlayerEvents,
pub game_profile: GameProfileComponent,
+ pub client_information: ClientInformation,
pub account: Account,
}
@@ -604,7 +606,6 @@ pub struct JoinedClientBundle {
pub instance_holder: InstanceHolder,
pub physics_state: PhysicsState,
pub inventory: InventoryComponent,
- pub client_information: ClientInformation,
pub tab_list: TabList,
pub current_sequence_number: CurrentSequenceNumber,
pub last_sent_direction: LastSentLookDirection,