From ef357fdf3667f3ded03203fc0f7cdec48a01ad8f Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Tue, 25 Mar 2025 11:17:39 -0500 Subject: 1.21.5 (#198) * 25w02a * move item_components codegen to a different module * remove outdated test * 25w03a * start updating to 24w09b * 1.21.5-pre2 * fix broken packets * 1.21.5-rc2 * merge main * delete unused acket_handling * 1.21.5 --- azalea-protocol/src/packets/game/s_chat.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/game/s_chat.rs') diff --git a/azalea-protocol/src/packets/game/s_chat.rs b/azalea-protocol/src/packets/game/s_chat.rs index 40c7e123..07702ddf 100755 --- a/azalea-protocol/src/packets/game/s_chat.rs +++ b/azalea-protocol/src/packets/game/s_chat.rs @@ -5,6 +5,7 @@ use azalea_protocol_macros::ServerboundGamePacket; #[derive(Clone, Debug, AzBuf, ServerboundGamePacket)] pub struct ServerboundChat { + #[limit(256)] pub message: String, pub timestamp: u64, pub salt: u64, @@ -15,6 +16,7 @@ pub struct ServerboundChat { #[derive(Clone, Debug, AzBuf, Default)] pub struct LastSeenMessagesUpdate { #[var] - pub messages: u32, + pub offset: u32, pub acknowledged: FixedBitSet<{ 20_usize.div_ceil(8) }>, + pub checksum: u8, } -- cgit v1.2.3