From 6d85435f60e4fa94b1956ceb44c7dddd92c4b39b Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 20 Oct 2020 12:28:45 +0100 Subject: Remove BLOCKENTITY_PROTODEF --- src/BlockEntities/BlockEntityWithItems.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/BlockEntities/BlockEntityWithItems.h') diff --git a/src/BlockEntities/BlockEntityWithItems.h b/src/BlockEntities/BlockEntityWithItems.h index 74e02693d..f191c8f43 100644 --- a/src/BlockEntities/BlockEntityWithItems.h +++ b/src/BlockEntities/BlockEntityWithItems.h @@ -32,9 +32,6 @@ class cBlockEntityWithItems : public: // tolua_export - BLOCKENTITY_PROTODEF(cBlockEntityWithItems) - - cBlockEntityWithItems( BLOCKTYPE a_BlockType, // Type of the block that the entity represents NIBBLETYPE a_BlockMeta, // Meta of the block that the entity represents @@ -64,12 +61,9 @@ public: // tolua_export const cItemGrid & GetContents(void) const { return m_Contents; } protected: + cItemGrid m_Contents; // cItemGrid::cListener overrides: virtual void OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum) override; } ; // tolua_export - - - - -- cgit v1.2.3