1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

apply command in StartConfiguration

This commit is contained in:
mat 2023-12-07 15:55:26 -06:00
parent 26bd9be55f
commit c9a18bc6a1

View file

@ -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(_) => {}