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-client/src/player.rs | |
| parent | e2ed19c1ed92f0dccc881d835d9ac6e0f7f834c0 (diff) | |
| download | azalea-drasl-2c8b7c5c2c9297273abfba8f7743f1bc25f166b1.tar.xz | |
upgrade bevy to 0.17.0-rc.2
Diffstat (limited to 'azalea-client/src/player.rs')
| -rw-r--r-- | azalea-client/src/player.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/player.rs b/azalea-client/src/player.rs index d696d133..46596e48 100644 --- a/azalea-client/src/player.rs +++ b/azalea-client/src/player.rs @@ -4,7 +4,7 @@ use azalea_core::game_type::GameMode; use azalea_entity::indexing::EntityUuidIndex; use bevy_ecs::{ component::Component, - event::EventReader, + message::MessageReader, system::{Commands, Res}, }; use derive_more::{Deref, DerefMut}; @@ -44,7 +44,7 @@ pub struct GameProfileComponent(pub GameProfile); /// `ClientboundGamePacket::AddPlayer` handler though. pub fn retroactively_add_game_profile_component( mut commands: Commands, - mut events: EventReader<AddPlayerEvent>, + mut events: MessageReader<AddPlayerEvent>, entity_uuid_index: Res<EntityUuidIndex>, ) { for event in events.read() { |
