aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/packet/config
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-04-25 09:56:57 +1000
committermat <git@matdoes.dev>2025-04-24 11:12:47 -1245
commit89bc5ca91ebfe585c8df8891d94856068c7ad2be (patch)
tree46a006cfc9d84686b7204765c5dbaea2ed0c2adb /azalea-client/src/plugins/packet/config
parent54062c82fdd8a60ecfc79cd5e6252f9ead4c7a1b (diff)
downloadazalea-drasl-89bc5ca91ebfe585c8df8891d94856068c7ad2be.tar.xz
update RawConnection::state when start_configuration is received
Diffstat (limited to 'azalea-client/src/plugins/packet/config')
-rw-r--r--azalea-client/src/plugins/packet/config/mod.rs2
1 files changed, 1 insertions, 1 deletions
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