summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-30 20:15:10 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-30 20:15:10 +0200
commitb94fef3089003b6b8958716cc8d12ffa03b5a779 (patch)
treecb1c486d74321eb034513212569ec6b936cf4420 /src/WorldStorage/NBTChunkSerializer.cpp
parentRemoved bad comment (diff)
downloadcuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.tar
cuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.tar.gz
cuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.tar.bz2
cuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.tar.lz
cuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.tar.xz
cuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.tar.zst
cuberite-b94fef3089003b6b8958716cc8d12ffa03b5a779.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index baf74d830..bff515386 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -11,7 +11,6 @@
#include "FastNBT.h"
#include "../BlockEntities/ChestEntity.h"
-#include "../BlockEntities/EnderChestEntity.h"
#include "../BlockEntities/CommandBlockEntity.h"
#include "../BlockEntities/DispenserEntity.h"
#include "../BlockEntities/DropperEntity.h"
@@ -190,18 +189,6 @@ void cNBTChunkSerializer::AddChestEntity(cChestEntity * a_Entity)
-void cNBTChunkSerializer::AddEnderChestEntity(cEnderChestEntity * a_Entity)
-{
- m_Writer.BeginCompound("");
- AddBasicTileEntity(a_Entity, "EnderChest");
- // No need to store anything more
- m_Writer.EndCompound();
-}
-
-
-
-
-
void cNBTChunkSerializer::AddDispenserEntity(cDispenserEntity * a_Entity)
{
m_Writer.BeginCompound("");
@@ -833,7 +820,7 @@ void cNBTChunkSerializer::BlockEntity(cBlockEntity * a_Entity)
case E_BLOCK_CHEST: AddChestEntity ((cChestEntity *) 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: AddEnderChestEntity ((cEnderChestEntity *) 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;