diff options
Diffstat (limited to 'azalea/src/pathfinder')
| -rw-r--r-- | azalea/src/pathfinder/mod.rs | 4 | ||||
| -rw-r--r-- | azalea/src/pathfinder/simulation.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/pathfinder/mod.rs b/azalea/src/pathfinder/mod.rs index eab292ec..dbaa57a2 100644 --- a/azalea/src/pathfinder/mod.rs +++ b/azalea/src/pathfinder/mod.rs @@ -20,7 +20,7 @@ use azalea_client::movement::walk_listener; use azalea_client::{StartSprintEvent, StartWalkEvent}; use azalea_core::BlockPos; use azalea_entity::metadata::Player; -use azalea_entity::Local; +use azalea_entity::LocalEntity; use azalea_entity::{Physics, Position}; use azalea_physics::PhysicsSet; use azalea_world::{InstanceContainer, InstanceName}; @@ -73,7 +73,7 @@ pub struct Pathfinder { #[allow(clippy::type_complexity)] fn add_default_pathfinder( mut commands: Commands, - mut query: Query<Entity, (Without<Pathfinder>, With<Local>, With<Player>)>, + mut query: Query<Entity, (Without<Pathfinder>, With<LocalEntity>, With<Player>)>, ) { for entity in &mut query { commands.entity(entity).insert(Pathfinder::default()); diff --git a/azalea/src/pathfinder/simulation.rs b/azalea/src/pathfinder/simulation.rs index a61b823f..4f179795 100644 --- a/azalea/src/pathfinder/simulation.rs +++ b/azalea/src/pathfinder/simulation.rs @@ -83,7 +83,7 @@ impl Simulation { .spawn(( MinecraftEntityId(0), InstanceName(instance_name), - azalea_entity::Local, + azalea_entity::LocalEntity, azalea_entity::Jumping::default(), azalea_entity::LookDirection::default(), Sprinting(true), |
