diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-14 17:52:22 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-14 17:52:22 +0100 |
commit | 95be80cdb5322720e7c9fbd13ec2692288afd931 (patch) | |
tree | 67c1bbcf1ebe887521d7c24dc5c2a2a84e5d3494 /src/Bindings | |
parent | Update Core (diff) | |
download | cuberite-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.cpp | 2 |
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>); |