diff options
| author | mat <git@matdoes.dev> | 2025-09-28 13:10:04 -0545 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-09-28 13:10:04 -0545 |
| commit | 2c8b7c5c2c9297273abfba8f7743f1bc25f166b1 (patch) | |
| tree | 3d3aded400100c136287fa59293ce26c61644d00 /azalea/src/pathfinder/debug.rs | |
| parent | e2ed19c1ed92f0dccc881d835d9ac6e0f7f834c0 (diff) | |
| download | azalea-drasl-2c8b7c5c2c9297273abfba8f7743f1bc25f166b1.tar.xz | |
upgrade bevy to 0.17.0-rc.2
Diffstat (limited to 'azalea/src/pathfinder/debug.rs')
| -rw-r--r-- | azalea/src/pathfinder/debug.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea/src/pathfinder/debug.rs b/azalea/src/pathfinder/debug.rs index d0d264d3..4b241e5d 100644 --- a/azalea/src/pathfinder/debug.rs +++ b/azalea/src/pathfinder/debug.rs @@ -37,8 +37,8 @@ pub struct PathfinderDebugParticles; pub fn debug_render_path_with_particles( mut query: Query<(Entity, &ExecutingPath, &InstanceHolder), With<PathfinderDebugParticles>>, // chat_events is Option because the tests don't have SendChatEvent - // and we have to use ResMut<Events> because bevy doesn't support Option<EventWriter> - chat_events: Option<ResMut<Events<SendChatEvent>>>, + // and we have to use ResMut<Messages> because bevy doesn't support Option<MessageWriter> + chat_events: Option<ResMut<Messages<SendChatEvent>>>, mut tick_count: Local<usize>, ) { let Some(mut chat_events) = chat_events else { @@ -104,7 +104,7 @@ pub fn debug_render_path_with_particles( delta_z = 0, count = 1 ); - chat_events.send(SendChatEvent { + chat_events.write(SendChatEvent { entity, content: particle_command, }); |
