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/src/bot.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'azalea/src/bot.rs') diff --git a/azalea/src/bot.rs b/azalea/src/bot.rs index 353ec99f..4c2a7a21 100644 --- a/azalea/src/bot.rs +++ b/azalea/src/bot.rs @@ -13,7 +13,8 @@ use azalea_client::mining::Mining; use azalea_client::TickBroadcast; use azalea_core::{BlockPos, Vec3}; use azalea_entity::{ - clamp_look_direction, metadata::Player, EyeHeight, Jumping, Local, LookDirection, Position, + clamp_look_direction, metadata::Player, EyeHeight, Jumping, LocalEntity, LookDirection, + Position, }; use azalea_physics::PhysicsSet; use bevy_app::{FixedUpdate, Update}; @@ -52,7 +53,7 @@ pub struct Bot { #[allow(clippy::type_complexity)] fn insert_bot( mut commands: Commands, - mut query: Query, With, With)>, + mut query: Query, With, With)>, ) { for entity in &mut query { commands.entity(entity).insert(Bot::default()); -- cgit v1.2.3