summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-08 13:34:39 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-08 13:34:39 +0200
commit164ffe50adbadd4bc123f11d585fef5c447d776e (patch)
tree1101f64958419922f7247945e2f50acef10c2d8a /src/WorldStorage
parentFixed compilation and pressure plates (diff)
downloadcuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.tar
cuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.tar.gz
cuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.tar.bz2
cuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.tar.lz
cuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.tar.xz
cuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.tar.zst
cuberite-164ffe50adbadd4bc123f11d585fef5c447d776e.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index 34c47e08d..1654153ff 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -818,12 +818,14 @@ void cNBTChunkSerializer::BlockEntity(cBlockEntity * a_Entity)
switch (a_Entity->GetBlockType())
{
case E_BLOCK_TRAPPED_CHEST:
- case E_BLOCK_CHEST: AddChestEntity ((cChestEntity *) a_Entity, a_Entity->GetBlockType()); break;
+ case E_BLOCK_CHEST: AddChestEntity((cChestEntity *)a_Entity, a_Entity->GetBlockType()); break;
+ case E_BLOCK_LIT_FURNACE:
+ case E_BLOCK_FURNACE: AddFurnaceEntity((cFurnaceEntity *)a_Entity); break;
+
case E_BLOCK_DISPENSER: AddDispenserEntity ((cDispenserEntity *) a_Entity); break;
case E_BLOCK_DROPPER: AddDropperEntity ((cDropperEntity *) a_Entity); break;
case E_BLOCK_ENDER_CHEST: /* No need to be saved */ break;
case E_BLOCK_FLOWER_POT: AddFlowerPotEntity ((cFlowerPotEntity *) a_Entity); break;
- case E_BLOCK_FURNACE: AddFurnaceEntity ((cFurnaceEntity *) a_Entity); break;
case E_BLOCK_HOPPER: AddHopperEntity ((cHopperEntity *) a_Entity); break;
case E_BLOCK_SIGN_POST:
case E_BLOCK_WALLSIGN: AddSignEntity ((cSignEntity *) a_Entity); break;