summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-19 22:12:38 +0100
committerMattes D <github@xoft.cz>2014-02-19 22:12:38 +0100
commit87db4b6a904f2877919446b8219d659848da89e8 (patch)
tree617bf18a768a493c2cd428297168f57df0901c26 /src/Bindings/ManualBindings.cpp
parentMerge pull request #694 from mc-server/itemframes (diff)
parentRename SkullEntity to MobHeadEntity (diff)
downloadcuberite-87db4b6a904f2877919446b8219d659848da89e8.tar
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.gz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.bz2
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.lz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.xz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.zst
cuberite-87db4b6a904f2877919446b8219d659848da89e8.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/ManualBindings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index 2a7631120..41b4cc0f4 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -22,6 +22,7 @@
#include "../BlockEntities/FurnaceEntity.h"
#include "../BlockEntities/HopperEntity.h"
#include "../BlockEntities/NoteEntity.h"
+#include "../BlockEntities/MobHeadEntity.h"
#include "md5/md5.h"
#include "../LineBlockTracer.h"
#include "../WorldStorage/SchematicFileSerializer.h"
@@ -2416,6 +2417,7 @@ void ManualBindings::Bind(lua_State * tolua_S)
tolua_function(tolua_S, "DoWithFurnaceAt", tolua_DoWithXYZ<cWorld, cFurnaceEntity, &cWorld::DoWithFurnaceAt>);
tolua_function(tolua_S, "DoWithNoteBlockAt", tolua_DoWithXYZ<cWorld, cNoteEntity, &cWorld::DoWithNoteBlockAt>);
tolua_function(tolua_S, "DoWithCommandBlockAt", tolua_DoWithXYZ<cWorld, cCommandBlockEntity, &cWorld::DoWithCommandBlockAt>);
+ tolua_function(tolua_S, "DoWithMobHeadBlockAt", tolua_DoWithXYZ<cWorld, cMobHeadEntity, &cWorld::DoWithMobHeadBlockAt>);
tolua_function(tolua_S, "DoWithPlayer", tolua_DoWith< cWorld, cPlayer, &cWorld::DoWithPlayer>);
tolua_function(tolua_S, "FindAndDoWithPlayer", tolua_DoWith< cWorld, cPlayer, &cWorld::FindAndDoWithPlayer>);
tolua_function(tolua_S, "ForEachBlockEntityInChunk", tolua_ForEachInChunk<cWorld, cBlockEntity, &cWorld::ForEachBlockEntityInChunk>);