From 1a0c4e2de9e6d82d5efdfac2bab17a73c79fc466 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 13 Apr 2025 16:10:59 +0000 Subject: fix wrong MAXIMUM_UNCOMPRESSED_LENGTH value --- azalea-protocol/src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol') diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index 84c307d7..64d35a08 100644 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -158,7 +158,7 @@ pub fn deserialize_packet( // this is always true in multiplayer, false in singleplayer static VALIDATE_DECOMPRESSED: bool = true; -pub static MAXIMUM_UNCOMPRESSED_LENGTH: u32 = 2_097_152; +pub static MAXIMUM_UNCOMPRESSED_LENGTH: u32 = 8_388_608; #[derive(Error, Debug)] pub enum DecompressionError { -- cgit v1.2.3