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

Update ServerboundHelloPacket

PR made in burger
This commit is contained in:
mat 2022-07-07 00:57:50 -05:00
parent 017651358d
commit 27edd4f578

View file

@ -1,10 +1,12 @@
use azalea_buf::McBuf;
use packet_macros::LoginPacket;
use uuid::Uuid;
#[derive(Clone, Debug, McBuf, LoginPacket)]
pub struct ServerboundHelloPacket {
pub username: String,
pub public_key: Option<ProfilePublicKeyData>,
pub profile_id: Option<Uuid>,
}
#[derive(Clone, Debug, McBuf)]