diff options
author | Mattes D <github@xoft.cz> | 2014-10-28 00:44:48 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-28 00:44:48 +0100 |
commit | 2d7cbfe620d2cac160a6e9729369f64ed90244f1 (patch) | |
tree | ee2cd2bde36537739c593293f4f1c7f7e7d72559 /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Fixed typo. (diff) | |
parent | Fixed compile (typos). (diff) | |
download | cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.tar cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.tar.gz cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.tar.bz2 cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.tar.lz cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.tar.xz cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.tar.zst cuberite-2d7cbfe620d2cac160a6e9729369f64ed90244f1.zip |
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 22 |
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(); } |