diff options
| author | mat <git@matdoes.dev> | 2026-03-30 10:02:22 +0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-05-07 08:05:58 -1200 |
| commit | 4af9762854aad30b7fdc40640618e465197f2148 (patch) | |
| tree | b3f00274ed277ed4a1fb6363b1f11e9f430c7535 /azalea-client/src/client.rs | |
| parent | ddef37118448b639ff56b86ae339e8913cb4ed11 (diff) | |
| download | azalea-drasl-4af9762854aad30b7fdc40640618e465197f2148.tar.xz | |
rename PhysicsState to ClientMovementState and add utility functions for it
Diffstat (limited to 'azalea-client/src/client.rs')
| -rw-r--r-- | azalea-client/src/client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index b9a4e824..e86e428a 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -10,7 +10,7 @@ use azalea_core::tick::GameTick; use azalea_entity::{ EntityUpdateSystems, PlayerAbilities, indexing::EntityIdIndex, inventory::Inventory, }; -use azalea_physics::local_player::PhysicsState; +use azalea_physics::client_movement::ClientMovementState; use azalea_world::Worlds; use bevy_app::{App, AppExit, Plugin, PluginsState, SubApp, Update}; use bevy_ecs::{ @@ -56,7 +56,7 @@ pub struct LocalPlayerBundle { #[derive(Bundle, Default)] pub struct JoinedClientBundle { // note that WorldHolder isn't here because it's set slightly before we fully join the world - pub physics_state: PhysicsState, + pub physics_state: ClientMovementState, pub inventory: Inventory, pub tab_list: TabList, pub block_state_prediction_handler: BlockStatePredictionHandler, |
