aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/plugin/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-entity/src/plugin/mod.rs
parentdea4a656a574318fc011e0545046b0d78b0e816e (diff)
downloadazalea-drasl-83784d5a350168edaade4620122c2c6d46bc81a2.tar.xz
rename Local to LocalEntity
Diffstat (limited to 'azalea-entity/src/plugin/mod.rs')
-rw-r--r--azalea-entity/src/plugin/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs
index 10e2a2f3..a75673ab 100644
--- a/azalea-entity/src/plugin/mod.rs
+++ b/azalea-entity/src/plugin/mod.rs
@@ -5,13 +5,13 @@ use std::collections::HashSet;
use azalea_core::{BlockPos, ChunkPos, Vec3};
use azalea_world::{InstanceContainer, InstanceName, MinecraftEntityId};
-use bevy_app::{App, FixedUpdate, Plugin, PostUpdate, PreUpdate, Update};
+use bevy_app::{App, Plugin, PostUpdate, PreUpdate, Update};
use bevy_ecs::prelude::*;
use derive_more::{Deref, DerefMut};
use log::debug;
use crate::{
- metadata::Health, Dead, EyeHeight, FluidOnEyes, Local, LookDirection, Physics, Position,
+ metadata::Health, Dead, EyeHeight, FluidOnEyes, LocalEntity, LookDirection, Physics, Position,
};
use indexing::EntityUuidIndex;
@@ -73,7 +73,7 @@ impl Plugin for EntityPlugin {
}
}
-fn debug_new_entity(query: Query<(Entity, Option<&Local>), Added<MinecraftEntityId>>) {
+fn debug_new_entity(query: Query<(Entity, Option<&LocalEntity>), Added<MinecraftEntityId>>) {
for (entity, local) in query.iter() {
if local.is_some() {
debug!("new local entity: {:?}", entity);