Merge branch 'release/3.5'

This commit is contained in:
Dylan K. Taylor
2018-12-29 00:04:33 +00:00
2 changed files with 53 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class RegionLoader{
public const COMPRESSION_GZIP = 1;
public const COMPRESSION_ZLIB = 2;
private const MAX_SECTOR_LENGTH = 256 << 12; //256 sectors, (1 MiB)
private const MAX_SECTOR_LENGTH = 255 << 12; //255 sectors (~0.996 MiB)
private const REGION_HEADER_LENGTH = 8192; //4096 location table + 4096 timestamps
public static $COMPRESSION_LEVEL = 7;