summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BedEntity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-10-20 13:28:45 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-10-24 19:49:38 +0200
commit6d85435f60e4fa94b1956ceb44c7dddd92c4b39b (patch)
treea5448788a6de6ff71039040bb31e0b5aaaa43f87 /src/BlockEntities/BedEntity.h
parentTNT Changes (#4970) (diff)
downloadcuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar
cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.gz
cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.bz2
cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.lz
cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.xz
cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.tar.zst
cuberite-6d85435f60e4fa94b1956ceb44c7dddd92c4b39b.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BedEntity.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/BlockEntities/BedEntity.h b/src/BlockEntities/BedEntity.h
index fe5970681..9f75b7946 100644
--- a/src/BlockEntities/BedEntity.h
+++ b/src/BlockEntities/BedEntity.h
@@ -12,7 +12,7 @@
// tolua_begin
-class cBedEntity:
+class cBedEntity :
public cBlockEntity
{
// tolua_end
@@ -20,8 +20,6 @@ class cBedEntity:
public: // tolua_export
- BLOCKENTITY_PROTODEF(cBedEntity)
-
cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, short a_Color = E_META_WOOL_RED);
// tolua_begin
@@ -44,5 +42,6 @@ public: // tolua_export
virtual void SendTo(cClientHandle & a_Client) override;
private:
+
short m_Color;
}; // tolua_export