1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

fix wrong MAXIMUM_UNCOMPRESSED_LENGTH value

This commit is contained in:
mat 2025-04-13 16:10:59 +00:00
parent fd27ca3bec
commit 1a0c4e2de9

View file

@ -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 {