summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-12-21 12:57:01 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-12-21 12:57:01 +0100
commit9755c5ba699493b3aa18ad4927f5a6a87e991e3b (patch)
treecc9a83ff0b5c87e4edd31f0785b14c902d577768 /src/WorldStorage/NBTChunkSerializer.cpp
parentFix repeater unpowering (diff)
parentMerge pull request #1680 from Masy98/entities (diff)
downloadcuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.tar
cuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.tar.gz
cuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.tar.bz2
cuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.tar.lz
cuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.tar.xz
cuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.tar.zst
cuberite-9755c5ba699493b3aa18ad4927f5a6a87e991e3b.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index 432e122b5..9d8e20b0b 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -495,6 +495,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster)
case mtEnderman: EntityClass = "Enderman"; break;
case mtGhast: EntityClass = "Ghast"; break;
case mtGiant: EntityClass = "Giant"; break;
+ case mtGuardian: EntityClass = "Guardian"; break;
case mtHorse: EntityClass = "Horse"; break;
case mtIronGolem: EntityClass = "VillagerGolem"; break;
case mtMagmaCube: EntityClass = "LavaSlime"; break;
@@ -627,6 +628,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster)
case mtEnderDragon:
case mtGhast:
case mtGiant:
+ case mtGuardian:
case mtIronGolem:
case mtMooshroom:
case mtOcelot: