summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-28 22:29:46 +0100
committerMattes D <github@xoft.cz>2014-10-28 22:29:46 +0100
commit791f8912125b8b522b8ba197f34c9e2ffb286911 (patch)
treeeae9d305bd7ad06e988a6db4a03d760ded42a6ef /src/WorldStorage/NBTChunkSerializer.cpp
parentcIntGen: Added a virtual destructor. (diff)
parentQtBiomeVisualiser: Added quick shutdown to region loaders. (diff)
downloadcuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar
cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.gz
cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.bz2
cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.lz
cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.xz
cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.tar.zst
cuberite-791f8912125b8b522b8ba197f34c9e2ffb286911.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index d85a5c329..4daa8cc7b 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -604,6 +604,28 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster)
m_Writer.AddByte("IsConverting", (((const cZombie *)a_Monster)->IsConverting() ? 1 : 0));
break;
}
+ case mtInvalidType:
+ case mtBlaze:
+ case mtCaveSpider:
+ case mtChicken:
+ case mtCow:
+ case mtEnderDragon:
+ case mtGhast:
+ case mtGiant:
+ case mtIronGolem:
+ case mtMooshroom:
+ case mtOcelot:
+ case mtPig:
+ case mtSilverfish:
+ case mtSnowGolem:
+ case mtSpider:
+ case mtSquid:
+ case mtWitch:
+ case mtZombiePigman:
+ {
+ // Other mobs have no special tags.
+ break;
+ }
}
m_Writer.EndCompound();
}