diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-24 15:30:52 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-24 15:30:52 +0200 |
commit | 32ecb121a3f7e0fa2cd35c78403949947e889c1d (patch) | |
tree | 6633ced6077aaa45b2735aec2a6855ce75bb3643 /src/WorldStorage | |
parent | Don't create two entity lists. (diff) | |
download | cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.tar cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.tar.gz cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.tar.bz2 cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.tar.lz cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.tar.xz cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.tar.zst cuberite-32ecb121a3f7e0fa2cd35c78403949947e889c1d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 8 |
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(); } } |