summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-11-07 21:16:55 +0100
committerGitHub <noreply@github.com>2016-11-07 21:16:55 +0100
commit087064999473e83389fb28d74ebcaaf5d119320a (patch)
tree8170f00d76228b97627a193c103482e69d649f51 /src/WorldStorage/NBTChunkSerializer.cpp
parentAnticheat fastbreak (#3411) (diff)
downloadcuberite-087064999473e83389fb28d74ebcaaf5d119320a.tar
cuberite-087064999473e83389fb28d74ebcaaf5d119320a.tar.gz
cuberite-087064999473e83389fb28d74ebcaaf5d119320a.tar.bz2
cuberite-087064999473e83389fb28d74ebcaaf5d119320a.tar.lz
cuberite-087064999473e83389fb28d74ebcaaf5d119320a.tar.xz
cuberite-087064999473e83389fb28d74ebcaaf5d119320a.tar.zst
cuberite-087064999473e83389fb28d74ebcaaf5d119320a.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index a825e4785..6797d196a 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -215,7 +215,7 @@ void cNBTChunkSerializer::AddBrewingstandEntity(cBrewingstandEntity * a_Brewings
void cNBTChunkSerializer::AddChestEntity(cChestEntity * a_Entity, BLOCKTYPE a_ChestType)
{
m_Writer.BeginCompound("");
- AddBasicTileEntity(a_Entity, (a_ChestType == E_BLOCK_CHEST) ? "Chest" : "TrappedChest");
+ AddBasicTileEntity(a_Entity, "Chest");
m_Writer.BeginList("Items", TAG_Compound);
AddItemGrid(a_Entity->GetContents());
m_Writer.EndList();