summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-06 13:59:39 +0100
committerGitHub <noreply@github.com>2021-03-06 13:59:39 +0100
commitd9a2b8611c86252a0d080ead7d17095a54489b2d (patch)
tree372a0d91bbe655a7db98df8e40225632fe46416e /src/WorldStorage
parentUpdate Core (diff)
downloadcuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.tar
cuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.tar.gz
cuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.tar.bz2
cuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.tar.lz
cuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.tar.xz
cuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.tar.zst
cuberite-d9a2b8611c86252a0d080ead7d17095a54489b2d.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index 714c65a91..30e2a7815 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -1182,7 +1182,7 @@ void NBTChunkSerializer::Serialize(const cWorld & aWorld, cChunkCoords aCoords,
// Save blockdata:
aWriter.BeginList("Sections", TAG_Compound);
- ChunkDef::ForEachSection(serializer.m_BlockData, serializer.m_LightData, [&aWriter](const auto Y, const auto Blocks, const auto Metas, const auto BlockLights, const auto SkyLights)
+ ChunkDef_ForEachSection(serializer.m_BlockData, serializer.m_LightData,
{
aWriter.BeginCompound("");