diff options
| author | mat <git@matdoes.dev> | 2023-09-14 16:48:21 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-14 16:48:21 -0500 |
| commit | 83784d5a350168edaade4620122c2c6d46bc81a2 (patch) | |
| tree | e126bb4849414fff78d24c65f93376f07f44e634 /azalea/src/nearest_entity.rs | |
| parent | dea4a656a574318fc011e0545046b0d78b0e816e (diff) | |
| download | azalea-drasl-83784d5a350168edaade4620122c2c6d46bc81a2.tar.xz | |
rename Local to LocalEntity
Diffstat (limited to 'azalea/src/nearest_entity.rs')
| -rw-r--r-- | azalea/src/nearest_entity.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/nearest_entity.rs b/azalea/src/nearest_entity.rs index b9db6adb..38c9886e 100644 --- a/azalea/src/nearest_entity.rs +++ b/azalea/src/nearest_entity.rs @@ -18,14 +18,14 @@ use bevy_ecs::{ /// use azalea::chat::SendChatEvent; /// use azalea::nearest_entity::EntityFinder; /// use azalea_entity::metadata::{Player, AbstractMonster}; -/// use azalea_entity::Local; +/// use azalea_entity::LocalEntity; /// use bevy_ecs::system::Query; /// use bevy_ecs::prelude::{Entity, EventWriter}; /// use bevy_ecs::query::With; /// /// /// All bots near aggressive mobs will scream in chat. /// pub fn bots_near_aggressive_mobs( -/// bots: Query<Entity, (With<Local>, With<Player>)>, +/// bots: Query<Entity, (With<LocalEntity>, With<Player>)>, /// entity_finder: EntityFinder<With<AbstractMonster>>, /// mut chat_events: EventWriter<SendChatEvent>, /// ) { |
