aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/nearest_entity.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea/src/nearest_entity.rs')
-rw-r--r--azalea/src/nearest_entity.rs4
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>,
/// ) {