diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-10-20 13:28:45 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-10-24 19:49:38 +0200 |
commit | 6d85435f60e4fa94b1956ceb44c7dddd92c4b39b (patch) | |
tree | a5448788a6de6ff71039040bb31e0b5aaaa43f87 /src/BlockEntities/MobSpawnerEntity.h | |
parent | TNT Changes (#4970) (diff) | |
download | cuberite-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/MobSpawnerEntity.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 - - - - |