diff options
author | Mattes D <github@xoft.cz> | 2014-08-01 17:43:02 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-01 17:43:02 +0200 |
commit | 35cfbfd51a15233bb0860804c525597d95260300 (patch) | |
tree | b11052934d85badc24e2d17ef1e51b5ea64040ec /src/Bindings/ManualBindings.cpp | |
parent | Merge pull request #1270 from Howaner/Options (diff) | |
parent | Use "default:" in switch. (diff) | |
download | cuberite-35cfbfd51a15233bb0860804c525597d95260300.tar cuberite-35cfbfd51a15233bb0860804c525597d95260300.tar.gz cuberite-35cfbfd51a15233bb0860804c525597d95260300.tar.bz2 cuberite-35cfbfd51a15233bb0860804c525597d95260300.tar.lz cuberite-35cfbfd51a15233bb0860804c525597d95260300.tar.xz cuberite-35cfbfd51a15233bb0860804c525597d95260300.tar.zst cuberite-35cfbfd51a15233bb0860804c525597d95260300.zip |
Diffstat (limited to 'src/Bindings/ManualBindings.cpp')
-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 df9687fc0..460d879d5 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -16,6 +16,7 @@ #include "../WebAdmin.h" #include "../ClientHandle.h" #include "../BlockArea.h" +#include "../BlockEntities/BeaconEntity.h" #include "../BlockEntities/ChestEntity.h" #include "../BlockEntities/CommandBlockEntity.h" #include "../BlockEntities/DispenserEntity.h" @@ -2996,6 +2997,7 @@ void ManualBindings::Bind(lua_State * tolua_S) tolua_beginmodule(tolua_S, "cWorld"); tolua_function(tolua_S, "ChunkStay", tolua_cWorld_ChunkStay); tolua_function(tolua_S, "DoWithBlockEntityAt", tolua_DoWithXYZ<cWorld, cBlockEntity, &cWorld::DoWithBlockEntityAt>); + tolua_function(tolua_S, "DoWithBeaconAt", tolua_DoWithXYZ<cWorld, cBeaconEntity, &cWorld::DoWithBeaconAt>); tolua_function(tolua_S, "DoWithChestAt", tolua_DoWithXYZ<cWorld, cChestEntity, &cWorld::DoWithChestAt>); tolua_function(tolua_S, "DoWithDispenserAt", tolua_DoWithXYZ<cWorld, cDispenserEntity, &cWorld::DoWithDispenserAt>); tolua_function(tolua_S, "DoWithDropSpenserAt", tolua_DoWithXYZ<cWorld, cDropSpenserEntity, &cWorld::DoWithDropSpenserAt>); |