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:
parent
fd27ca3bec
commit
1a0c4e2de9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue