summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/MobSpawnerEntity.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/MobSpawnerEntity.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/MobSpawnerEntity.h6
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
-
-
-
-