diff options
| author | mat <git@matdoes.dev> | 2025-04-25 01:10:03 -0100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-25 01:10:03 -0100 |
| commit | b3af8d73faa2663e25e5688897720e57842f99ae (patch) | |
| tree | fdc16e01fabce7b7ec4e9f1ff702fe3e6c10dfe5 /azalea-client/src/plugins/pong.rs | |
| parent | 65c9f555b0274ce9c56aafb73f3f59dbf80f3a85 (diff) | |
| download | azalea-drasl-b3af8d73faa2663e25e5688897720e57842f99ae.tar.xz | |
update to bevy 0.16
Diffstat (limited to 'azalea-client/src/plugins/pong.rs')
| -rw-r--r-- | azalea-client/src/plugins/pong.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/pong.rs b/azalea-client/src/plugins/pong.rs index 827ddfb1..e23b5245 100644 --- a/azalea-client/src/plugins/pong.rs +++ b/azalea-client/src/plugins/pong.rs @@ -24,14 +24,14 @@ impl Plugin for PongPlugin { pub fn reply_to_game_ping(trigger: Trigger<PingEvent>, mut commands: Commands) { commands.trigger(SendPacketEvent::new( - trigger.entity(), + trigger.target(), azalea_protocol::packets::game::ServerboundPong { id: trigger.0.id }, )); } pub fn reply_to_config_ping(trigger: Trigger<ConfigPingEvent>, mut commands: Commands) { commands.trigger(SendConfigPacketEvent::new( - trigger.entity(), + trigger.target(), azalea_protocol::packets::config::ServerboundPong { id: trigger.0.id }, )); } |
