aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs7
-rw-r--r--azalea-client/src/movement.rs2
2 files changed, 6 insertions, 3 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;
diff --git a/azalea-client/src/movement.rs b/azalea-client/src/movement.rs
index 47cbd0ac..3bdcdeac 100644
--- a/azalea-client/src/movement.rs
+++ b/azalea-client/src/movement.rs
@@ -388,7 +388,7 @@ impl Client {
/// An event sent when the client starts walking. This does not get sent for
/// non-local entities.
-#[derive(Event)]
+#[derive(Event, Debug)]
pub struct StartWalkEvent {
pub entity: Entity,
pub direction: WalkDirection,