summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-11 13:43:24 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-11 13:43:24 +0200
commit6a33fa84ae03ada5ddeb5861094a4030e612f827 (patch)
treebfc26735ff141460c8de6d2d54a57bdcca6c73ac /src/WorldStorage
parentImproved LinkedPowering speed (diff)
downloadcuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.gz
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.bz2
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.lz
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.xz
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.tar.zst
cuberite-6a33fa84ae03ada5ddeb5861094a4030e612f827.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index 1654153ff..a8d5ee02b 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -817,10 +817,10 @@ void cNBTChunkSerializer::BlockEntity(cBlockEntity * a_Entity)
// Add tile-entity into NBT:
switch (a_Entity->GetBlockType())
{
- case E_BLOCK_TRAPPED_CHEST:
- 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_CHEST:
+ case E_BLOCK_TRAPPED_CHEST: AddChestEntity((cChestEntity *)a_Entity, a_Entity->GetBlockType()); break;
+ case E_BLOCK_FURNACE:
+ case E_BLOCK_LIT_FURNACE: AddFurnaceEntity((cFurnaceEntity *)a_Entity); break;
case E_BLOCK_DISPENSER: AddDispenserEntity ((cDispenserEntity *) a_Entity); break;
case E_BLOCK_DROPPER: AddDropperEntity ((cDropperEntity *) a_Entity); break;