summaryrefslogtreecommitdiffstats
path: root/source/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 12:23:24 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-16 12:23:24 +0200
commit7f87d6c3d6a116742f25f1846d747a33afdc63f0 (patch)
treefdc0a24c2b6145c16a78612589cdb48533ac7e6c /source/WorldStorage/NBTChunkSerializer.cpp
parentGeneration and simulation defaults (diff)
downloadcuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar
cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.gz
cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.bz2
cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.lz
cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.xz
cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.tar.zst
cuberite-7f87d6c3d6a116742f25f1846d747a33afdc63f0.zip
Diffstat (limited to 'source/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r--source/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/WorldStorage/NBTChunkSerializer.cpp b/source/WorldStorage/NBTChunkSerializer.cpp
index da1b9e1c4..fe8630318 100644
--- a/source/WorldStorage/NBTChunkSerializer.cpp
+++ b/source/WorldStorage/NBTChunkSerializer.cpp
@@ -274,6 +274,8 @@ void cNBTChunkSerializer::AddMinecartEntity(cMinecart * a_Minecart)
case cMinecart::mpNone: EntityClass = "MinecartRideable"; break;
case cMinecart::mpChest: EntityClass = "MinecartChest"; break;
case cMinecart::mpFurnace: EntityClass = "MinecartFurnace"; break;
+ case cMinecart::mpTNT: EntityClass = "MinecartTNT"; break;
+ case cMinecart::mpHopper: EntityClass = "MinecartHopper"; break;
default:
{
ASSERT(!"Unhandled minecart payload type");