aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-04-13 16:10:59 +0000
committermat <git@matdoes.dev>2025-04-13 16:10:59 +0000
commit1a0c4e2de9e6d82d5efdfac2bab17a73c79fc466 (patch)
treecc6a0f670e0cc1e21bea0529a33397f58e0d8c1a /azalea-protocol
parentfd27ca3becb06f34e11638c00e703918f713dd96 (diff)
downloadazalea-drasl-1a0c4e2de9e6d82d5efdfac2bab17a73c79fc466.tar.xz
fix wrong MAXIMUM_UNCOMPRESSED_LENGTH value
Diffstat (limited to 'azalea-protocol')
-rw-r--r--azalea-protocol/src/read.rs2
1 files changed, 1 insertions, 1 deletions
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<P: ProtocolPacket + Debug>(
// 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 {