summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BedEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/BedEntity.cpp')
-rw-r--r--src/BlockEntities/BedEntity.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/BlockEntities/BedEntity.cpp b/src/BlockEntities/BedEntity.cpp
index 55fc53b98..3d7005b12 100644
--- a/src/BlockEntities/BedEntity.cpp
+++ b/src/BlockEntities/BedEntity.cpp
@@ -24,6 +24,15 @@ cBedEntity::cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a
+cItems cBedEntity::ConvertToPickups() const
+{
+ return cItem(E_ITEM_BED, 1, m_Color);
+}
+
+
+
+
+
void cBedEntity::CopyFrom(const cBlockEntity & a_Src)
{
Super::CopyFrom(a_Src);