diff options
Diffstat (limited to 'azalea-client/src/packet_handling')
| -rw-r--r-- | azalea-client/src/packet_handling/login.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea-client/src/packet_handling/login.rs b/azalea-client/src/packet_handling/login.rs index 11c0b8e9..dec4aa06 100644 --- a/azalea-client/src/packet_handling/login.rs +++ b/azalea-client/src/packet_handling/login.rs @@ -48,6 +48,11 @@ pub struct LoginSendPacketQueue { pub tx: mpsc::UnboundedSender<ServerboundLoginPacket>, } +/// A marker component for local players that are currently in the +/// `login` state. +#[derive(Component, Clone, Debug)] +pub struct InLoginState; + pub fn handle_send_packet_event( mut send_packet_events: EventReader<SendLoginPacketEvent>, mut query: Query<&mut LoginSendPacketQueue>, |
