aboutsummaryrefslogtreecommitdiff
path: root/azalea/examples
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-04-25 01:10:03 -0100
committermat <git@matdoes.dev>2025-04-25 01:10:03 -0100
commitb3af8d73faa2663e25e5688897720e57842f99ae (patch)
treefdc16e01fabce7b7ec4e9f1ff702fe3e6c10dfe5 /azalea/examples
parent65c9f555b0274ce9c56aafb73f3f59dbf80f3a85 (diff)
downloadazalea-drasl-b3af8d73faa2663e25e5688897720e57842f99ae.tar.xz
update to bevy 0.16
Diffstat (limited to 'azalea/examples')
-rw-r--r--azalea/examples/nearest_entity.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/nearest_entity.rs b/azalea/examples/nearest_entity.rs
index 911f9f58..1fb6bdd1 100644
--- a/azalea/examples/nearest_entity.rs
+++ b/azalea/examples/nearest_entity.rs
@@ -48,7 +48,7 @@ fn look_at_everything(
look_target.y += **eye_height as f64;
}
- look_at_event.send(LookAtEvent {
+ look_at_event.write(LookAtEvent {
entity: bot_id,
position: look_target,
});