aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/mod.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-09-14 16:48:21 -0500
committermat <git@matdoes.dev>2023-09-14 16:48:21 -0500
commit83784d5a350168edaade4620122c2c6d46bc81a2 (patch)
treee126bb4849414fff78d24c65f93376f07f44e634 /azalea/src/pathfinder/mod.rs
parentdea4a656a574318fc011e0545046b0d78b0e816e (diff)
downloadazalea-drasl-83784d5a350168edaade4620122c2c6d46bc81a2.tar.xz
rename Local to LocalEntity
Diffstat (limited to 'azalea/src/pathfinder/mod.rs')
-rw-r--r--azalea/src/pathfinder/mod.rs4
1 files changed, 2 insertions, 2 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());