aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_chat.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-12-11 03:25:36 +0000
committermat <git@matdoes.dev>2024-12-11 03:25:36 +0000
commit097a620de1a0139ca9a745ddc146c37e1d4695da (patch)
tree293a0187f7528afa48aa5ffa7e89acd10841c5ba /azalea-protocol/src/packets/game/s_chat.rs
parent2feef494718009dbcb5c62ef1e58c84c36e8bcbf (diff)
downloadazalea-drasl-097a620de1a0139ca9a745ddc146c37e1d4695da.tar.xz
fix for latest nightly by changing the FixedBitSet generic to take bytes instead of bits
Diffstat (limited to 'azalea-protocol/src/packets/game/s_chat.rs')
-rwxr-xr-xazalea-protocol/src/packets/game/s_chat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/s_chat.rs b/azalea-protocol/src/packets/game/s_chat.rs
index 03bafd11..40c7e123 100755
--- a/azalea-protocol/src/packets/game/s_chat.rs
+++ b/azalea-protocol/src/packets/game/s_chat.rs
@@ -16,5 +16,5 @@ pub struct ServerboundChat {
pub struct LastSeenMessagesUpdate {
#[var]
pub messages: u32,
- pub acknowledged: FixedBitSet<20>,
+ pub acknowledged: FixedBitSet<{ 20_usize.div_ceil(8) }>,
}