summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-14 17:52:22 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-14 17:52:22 +0100
commit95be80cdb5322720e7c9fbd13ec2692288afd931 (patch)
tree67c1bbcf1ebe887521d7c24dc5c2a2a84e5d3494 /src/Bindings
parentUpdate Core (diff)
downloadcuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.tar
cuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.tar.gz
cuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.tar.bz2
cuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.tar.lz
cuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.tar.xz
cuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.tar.zst
cuberite-95be80cdb5322720e7c9fbd13ec2692288afd931.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 4f7e1470a..2e19c2581 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -18,6 +18,7 @@
#include "../BlockEntities/DropperEntity.h"
#include "../BlockEntities/FurnaceEntity.h"
#include "../BlockEntities/HopperEntity.h"
+#include "../BlockEntities/NoteEntity.h"
#include "md5/md5.h"
#include "../LineBlockTracer.h"
@@ -2217,6 +2218,7 @@ void ManualBindings::Bind(lua_State * tolua_S)
tolua_function(tolua_S, "DoWithDropperAt", tolua_DoWithXYZ<cWorld, cDropperEntity, &cWorld::DoWithDropperAt>);
tolua_function(tolua_S, "DoWithEntityByID", tolua_DoWithID< cWorld, cEntity, &cWorld::DoWithEntityByID>);
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, "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>);