summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BedEntity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BedEntity.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/BlockEntities/BedEntity.h b/src/BlockEntities/BedEntity.h
index 8caa205c4..6878a6429 100644
--- a/src/BlockEntities/BedEntity.h
+++ b/src/BlockEntities/BedEntity.h
@@ -14,13 +14,14 @@
class cBedEntity :
public cBlockEntity
{
- typedef cBlockEntity Super;
-public:
// tolua_end
+ using super = cBlockEntity;
+
+public: // tolua_export
BLOCKENTITY_PROTODEF(cBedEntity)
- cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World, short a_Color = E_META_WOOL_RED);
+ cBedEntity(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos, cWorld * a_World, short a_Color = E_META_WOOL_RED);
// tolua_begin