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/MobSpawnerEntity.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/BlockEntities/MobSpawnerEntity.h') diff --git a/src/BlockEntities/MobSpawnerEntity.h b/src/BlockEntities/MobSpawnerEntity.h index a037343f4..3cd178d81 100644 --- a/src/BlockEntities/MobSpawnerEntity.h +++ b/src/BlockEntities/MobSpawnerEntity.h @@ -33,7 +33,6 @@ public: // tolua_export virtual bool UsedBy(cPlayer * a_Player) override; virtual bool Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; - static const char * GetClassStatic(void) { return "cMobSpawnerEntity"; } // tolua_begin /** Update the active flag from the mob spawner. This function will called every 5 seconds from the Tick() function. */ @@ -71,6 +70,7 @@ public: // tolua_export // tolua_end private: + /** The entity to spawn. */ eMonsterType m_Entity; @@ -96,7 +96,3 @@ private: short m_RequiredPlayerRange = 16; } ; // tolua_end - - - - -- cgit v1.2.3