Commit
e5e5c7c6d438c89ced4041c0d3361ae9e6bcc177
by md_5 (md_5)Allow Saving Large Chunks
The size of chunks in the region format is overdetermined. In particular their size on disk is indicated by both a sector count in the header, and actual size in the body.
If their size would overflow the header field (>= 255 sectors), it can just be read directly from the body instead.
This code/concept was adapted from MinecraftForge.