summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/MobHeadEntity.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-19 12:46:25 +0200
committerMattes D <github@xoft.cz>2014-10-19 12:46:25 +0200
commitb0a59927fb7531f6c909e6f581035568c79b625c (patch)
tree9837f6962a6744c6da9fb614c20ec7f46825a7c4 /src/BlockEntities/MobHeadEntity.h
parentLuaState: Pushing a cEntity pushes the correct class name. (diff)
downloadcuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar
cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.gz
cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.bz2
cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.lz
cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.xz
cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.tar.zst
cuberite-b0a59927fb7531f6c909e6f581035568c79b625c.zip
Diffstat (limited to 'src/BlockEntities/MobHeadEntity.h')
-rw-r--r--src/BlockEntities/MobHeadEntity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/MobHeadEntity.h b/src/BlockEntities/MobHeadEntity.h
index fcdeaa8a6..7f69bc5ad 100644
--- a/src/BlockEntities/MobHeadEntity.h
+++ b/src/BlockEntities/MobHeadEntity.h
@@ -34,6 +34,8 @@ public:
// tolua_end
+ BLOCKENTITY_PROTODEF(cMobHeadEntity);
+
/** Creates a new mob head entity at the specified block coords. a_World may be NULL */
cMobHeadEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World);
@@ -62,8 +64,6 @@ public:
virtual void UsedBy(cPlayer * a_Player) override;
virtual void SendTo(cClientHandle & a_Client) override;
- static const char * GetClassStatic(void) { return "cMobHeadEntity"; }
-
private:
eMobHeadType m_Type;