From 83784d5a350168edaade4620122c2c6d46bc81a2 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 14 Sep 2023 16:48:21 -0500 Subject: rename Local to LocalEntity --- azalea/examples/nearest_entity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/examples') diff --git a/azalea/examples/nearest_entity.rs b/azalea/examples/nearest_entity.rs index 22a8b863..2105d29e 100644 --- a/azalea/examples/nearest_entity.rs +++ b/azalea/examples/nearest_entity.rs @@ -3,7 +3,7 @@ use azalea::ClientBuilder; use azalea::{Bot, LookAtEvent}; use azalea_client::Account; use azalea_entity::metadata::{ItemItem, Player}; -use azalea_entity::{EyeHeight, Local, Position}; +use azalea_entity::{EyeHeight, LocalEntity, Position}; use bevy_app::{FixedUpdate, Plugin}; use bevy_ecs::{ prelude::{Entity, EventWriter}, @@ -30,7 +30,7 @@ impl Plugin for LookAtStuffPlugin { } fn look_at_everything( - bots: Query, With)>, + bots: Query, With)>, entities: EntityFinder, entity_positions: Query<(&Position, Option<&EyeHeight>)>, mut look_at_event: EventWriter, -- cgit v1.2.3