diff options
Diffstat (limited to 'azalea-protocol/src/packets')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_player_chat_packet.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_player_chat_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_chat_packet.rs index c6013fc2..e961828e 100644 --- a/azalea-protocol/src/packets/game/clientbound_player_chat_packet.rs +++ b/azalea-protocol/src/packets/game/clientbound_player_chat_packet.rs @@ -68,7 +68,7 @@ pub struct LastSeenMessagesEntry { pub last_signature: MessageSignature, } -#[derive(Clone, Debug, McBuf)] +#[derive(Clone, Debug, McBuf, Default)] pub struct LastSeenMessagesUpdate { pub last_seen: Vec<LastSeenMessagesEntry>, pub last_received: Option<LastSeenMessagesEntry>, diff --git a/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs b/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs index 426ca882..a840e44f 100644 --- a/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs +++ b/azalea-protocol/src/packets/game/serverbound_chat_command_packet.rs @@ -9,7 +9,7 @@ pub struct ServerboundChatCommandPacket { pub command: String, // TODO: Choose a real timestamp type pub timestamp: u64, - pub salt: i64, + pub salt: u64, pub argument_signatures: Vec<ArgumentSignature>, pub signed_preview: bool, pub last_seen_messages: LastSeenMessagesUpdate, |
