diff options
author | madmaxoft <github@xoft.cz> | 2014-06-20 21:30:11 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-06-20 21:30:11 +0200 |
commit | 79c19662904eb010d90c2d80ab6382b90027c67d (patch) | |
tree | f5381e41cf2c55d2d8efd9c5ee9149be98661383 /src/WorldStorage/WSSAnvil.cpp | |
parent | Fixed the BiomeVisualiser project. (diff) | |
download | cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.tar cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.tar.gz cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.tar.bz2 cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.tar.lz cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.tar.xz cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.tar.zst cuberite-79c19662904eb010d90c2d80ab6382b90027c67d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index 1891762fd..0f84a0eb1 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -469,6 +469,9 @@ bool cWSSAnvil::SaveChunkToNBT(const cChunkCoords & a_Chunk, cFastNBTWriter & a_ a_Writer.AddByte("MCSIsLightValid", 1); } + // Store the flag that the chunk has all the ores, trees, dungeons etc. MCS chunks are always complete. + a_Writer.AddByte("TerrainPopulated", 1); + a_Writer.EndCompound(); // "Level" return true; } |