summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DispenserEntity.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/DispenserEntity.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 '')
-rw-r--r--src/BlockEntities/DispenserEntity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BlockEntities/DispenserEntity.h b/src/BlockEntities/DispenserEntity.h
index b33d08342..5ba87b716 100644
--- a/src/BlockEntities/DispenserEntity.h
+++ b/src/BlockEntities/DispenserEntity.h
@@ -17,11 +17,11 @@ public:
// tolua_end
+ BLOCKENTITY_PROTODEF(cDispenserEntity);
+
/** Constructor used for normal operation */
cDispenserEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World);
- static const char * GetClassStatic(void) { return "cDispenserEntity"; }
-
// tolua_begin
/** Spawns a projectile of the given kind in front of the dispenser with the specified speed. */