diff options
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index 7ce85616c..e96acccef 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -1252,7 +1252,7 @@ void NBTChunkSerializer::Serialize(const cWorld & aWorld, cChunkCoords aCoords, } // Save the world age to the chunk data. Required by vanilla and mcedit. - aWriter.AddLong("LastUpdate", aWorld.GetWorldAge()); + aWriter.AddLong("LastUpdate", aWorld.GetWorldAge().count()); // Store the flag that the chunk has all the ores, trees, dungeons etc. Cuberite chunks are always complete. aWriter.AddByte("TerrainPopulated", 1); |