diff options
| author | mat <git@matdoes.dev> | 2025-04-13 16:10:59 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-13 16:10:59 +0000 |
| commit | 1a0c4e2de9e6d82d5efdfac2bab17a73c79fc466 (patch) | |
| tree | cc6a0f670e0cc1e21bea0529a33397f58e0d8c1a /azalea-protocol | |
| parent | fd27ca3becb06f34e11638c00e703918f713dd96 (diff) | |
| download | azalea-drasl-1a0c4e2de9e6d82d5efdfac2bab17a73c79fc466.tar.xz | |
fix wrong MAXIMUM_UNCOMPRESSED_LENGTH value
Diffstat (limited to 'azalea-protocol')
| -rw-r--r-- | azalea-protocol/src/read.rs | 2 |
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 { |
