diff options
| author | mat <git@matdoes.dev> | 2023-09-19 02:01:39 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-19 02:01:39 -0500 |
| commit | 83cce236145cdab1872a472a70943b669a880965 (patch) | |
| tree | 2ce4a6c6e46b887e100e3e710e4c809d3a1e7279 /azalea-client/src/client.rs | |
| parent | 51963990bc0cbbbca388b2ed015fd64ff6492d7b (diff) | |
| download | azalea-drasl-83cce236145cdab1872a472a70943b669a880965.tar.xz | |
add Loaded component and fix clamping look direction
Diffstat (limited to 'azalea-client/src/client.rs')
| -rw-r--r-- | azalea-client/src/client.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index d5f40678..8424bf39 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -22,8 +22,9 @@ use azalea_auth::{game_profile::GameProfile, sessionserver::ClientSessionServerE use azalea_chat::FormattedText; use azalea_core::Vec3; use azalea_entity::{ - indexing::EntityIdIndex, metadata::Health, EntityPlugin, EntityUpdateSet, EyeHeight, - LocalEntity, Position, + indexing::{EntityIdIndex, Loaded}, + metadata::Health, + EntityPlugin, EntityUpdateSet, EyeHeight, LocalEntity, Position, }; use azalea_physics::PhysicsPlugin; use azalea_protocol::{ @@ -316,6 +317,7 @@ impl Client { attack: attack::AttackBundle::default(), _local: LocalEntity, + _loaded: Loaded, }); let client = Client::new( @@ -634,6 +636,7 @@ pub struct JoinedClientBundle { pub attack: attack::AttackBundle, pub _local: LocalEntity, + pub _loaded: Loaded, } pub struct AzaleaPlugin; |
