Skip to content
Success

Changes

Summary

  1. Allow Saving Large Chunks (details)
Commit e5e5c7c6d438c89ced4041c0d3361ae9e6bcc177 by 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.
The file was addedCraftBukkit-Patches/0117-Allow-Saving-Large-Chunks.patch
The file was modified CraftBukkit-Patches/0003-mc-dev-imports.patch