From 89bc5ca91ebfe585c8df8891d94856068c7ad2be Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 25 Apr 2025 09:56:57 +1000 Subject: update RawConnection::state when start_configuration is received --- azalea-client/src/plugins/packet/config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 910019a6..9560703b 100644 --- a/azalea-client/src/plugins/packet/config/mod.rs +++ b/azalea-client/src/plugins/packet/config/mod.rs @@ -96,12 +96,12 @@ impl ConfigPacketHandler<'_> { self.ecs, |(mut commands, mut query)| { let mut raw_conn = query.get_mut(self.player).unwrap(); + raw_conn.state = ConnectionProtocol::Game; commands.trigger(SendConfigPacketEvent::new( self.player, ServerboundFinishConfiguration, )); - raw_conn.state = ConnectionProtocol::Game; // these components are added now that we're going to be in the Game state commands -- cgit v1.2.3