summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index a052bf5f3..08ed893f5 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -85,13 +85,13 @@ void cNBTChunkSerializer::Finish(void)
// Check if "Entity" and "TileEntities" lists exists. MCEdit requires this.
if (!m_HasHadEntity)
{
- a_Writer.BeginList("Entities", TAG_Compound);
- a_Writer.EndList();
+ m_Writer.BeginList("Entities", TAG_Compound);
+ m_Writer.EndList();
}
if (!m_HasHadBlockEntity)
{
- a_Writer.BeginList("TileEntities", TAG_Compound);
- a_Writer.EndList();
+ m_Writer.BeginList("TileEntities", TAG_Compound);
+ m_Writer.EndList();
}
}