Skip to content

Commit

Permalink
apply command in StartConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Dec 7, 2023
1 parent 26bd9be commit c9a18bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azalea-client/src/packet_handling/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1388,11 +1388,12 @@ pub fn process_packet_events(ecs: &mut World) {
packet: ServerboundConfigurationAcknowledgedPacket {}.get(),
});

// add InConfigurationState
commands
.entity(player_entity)
.insert(crate::client::InConfigurationState)
.remove::<crate::JoinedClientBundle>();

system_state.apply(ecs);
}

ClientboundGamePacket::SelectAdvancementsTab(_) => {}
Expand Down

0 comments on commit c9a18bc

Please sign in to comment.