summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-14 22:00:30 +0100
committerMattes D <github@xoft.cz>2013-12-14 22:00:30 +0100
commit22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e (patch)
tree4299dac2569ac649645a28bbe8aa50f1ba9de246 /src/Bindings
parentMerge pull request #429 from worktycho/quickfixs (diff)
parentPotentially fixed debug asserts (diff)
downloadcuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.tar
cuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.tar.gz
cuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.tar.bz2
cuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.tar.lz
cuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.tar.xz
cuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.tar.zst
cuberite-22ee94ffaf2ff1098a77b2e9a2a97040e0d1986e.zip
Diffstat (limited to 'src/Bindings')
-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>);