summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2017-08-21 00:23:23 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-26 20:56:44 +0200
commit447d929da18b656227c77d9c00958bcf52afeeb2 (patch)
tree9614d84d6164f79be0061495a684d76b583f1f13 /src/WorldStorage/NBTChunkSerializer.h
parentLeashes work in 1.12.1 (diff)
downloadcuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.gz
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.bz2
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.lz
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.xz
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.tar.zst
cuberite-447d929da18b656227c77d9c00958bcf52afeeb2.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.h')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.h b/src/WorldStorage/NBTChunkSerializer.h
index 3637ea655..50d98a518 100644
--- a/src/WorldStorage/NBTChunkSerializer.h
+++ b/src/WorldStorage/NBTChunkSerializer.h
@@ -1,4 +1,4 @@
-
+
// NBTChunkSerializer.h
// Declares the cNBTChunkSerializer class that is used for saving individual chunks into NBT format used by Anvil
@@ -55,7 +55,7 @@ class cPainting;
class cNBTChunkSerializer :
- public cChunkDataSeparateCollector
+ public cChunkDataCopyCollector
{
public:
cChunkDef::BiomeMap m_Biomes;
@@ -69,15 +69,12 @@ public:
/** Close NBT tags that we've opened */
void Finish(void);
- bool IsLightValid(void) const {return m_IsLightValid; }
+ bool IsLightValid(void) const { return m_IsLightValid; }
protected:
- /* From cChunkDataSeparateCollector we inherit:
- - m_BlockTypes[]
- - m_BlockMetas[]
- - m_BlockLight[]
- - m_BlockSkyLight[] */
+ /* From cChunkDataCopyCollector we inherit:
+ - cChunkData m_Data */
cFastNBTWriter & m_Writer;