From 25cd1c0b60604655b70d70f8ec33a54853905eea Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 18 Mar 2026 16:28:46 -1030 Subject: optimize pathfinder swarms and write perf guide --- azalea-client/src/plugins/packet/config/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-client/src/plugins/packet/config') diff --git a/azalea-client/src/plugins/packet/config/mod.rs b/azalea-client/src/plugins/packet/config/mod.rs index f59b8c23..5d0532d5 100644 --- a/azalea-client/src/plugins/packet/config/mod.rs +++ b/azalea-client/src/plugins/packet/config/mod.rs @@ -128,8 +128,8 @@ impl ConfigPacketHandler<'_> { self.player ); - as_system::<(Commands, MessageWriter<_>)>(self.ecs, |(mut commands, mut events)| { - events.write(KeepAliveEvent { + as_system::(self.ecs, |mut commands| { + commands.trigger(KeepAliveEvent { entity: self.player, id: p.id, }); -- cgit v1.2.3