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-client/src/client.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'azalea-client/src/client.rs') diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 332db1f1..89e33dbc 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -22,8 +22,8 @@ use azalea_auth::{game_profile::GameProfile, sessionserver::ClientSessionServerE use azalea_chat::FormattedText; use azalea_core::Vec3; use azalea_entity::{ - indexing::EntityIdIndex, metadata::Health, EntityPlugin, EntityUpdateSet, EyeHeight, Local, - Position, + indexing::EntityIdIndex, metadata::Health, EntityPlugin, EntityUpdateSet, EyeHeight, + LocalEntity, Position, }; use azalea_physics::PhysicsPlugin; use azalea_protocol::{ @@ -316,7 +316,7 @@ impl Client { mining: mining::MineBundle::default(), attack: attack::AttackBundle::default(), - _local: Local, + _local: LocalEntity, }); Ok((client, rx)) @@ -584,7 +584,7 @@ impl Client { } /// A bundle for the components that are present on a local player that received -/// a login packet. If you want to filter for this, just use [`Local`]. +/// a login packet. If you want to filter for this, just use [`LocalEntity`]. #[derive(Bundle)] pub struct JoinedClientBundle { pub local_player: LocalPlayer, @@ -606,7 +606,7 @@ pub struct JoinedClientBundle { pub mining: mining::MineBundle, pub attack: attack::AttackBundle, - pub _local: Local, + pub _local: LocalEntity, } pub struct AzaleaPlugin; -- cgit v1.2.3