diff options
author | andrew <xdotftw@gmail.com> | 2014-02-23 12:25:02 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-02-23 12:25:02 +0100 |
commit | 30b22e9f59e0873be84e80c83d274dbe5353b835 (patch) | |
tree | 7d4a1de7ac03ccb112340ca80905ae77cfbea77b /src/Bindings | |
parent | Documented and exported cMapManager (diff) | |
download | cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.tar cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.tar.gz cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.tar.bz2 cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.tar.lz cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.tar.xz cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.tar.zst cuberite-30b22e9f59e0873be84e80c83d274dbe5353b835.zip |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/ManualBindings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp index c220e5e0a..f2d21a682 100644 --- a/src/Bindings/ManualBindings.cpp +++ b/src/Bindings/ManualBindings.cpp @@ -2511,6 +2511,10 @@ void ManualBindings::Bind(lua_State * tolua_S) tolua_function(tolua_S, "UpdateSign", tolua_cWorld_SetSignLines); tolua_endmodule(tolua_S); + tolua_beginmodule(tolua_S, "cMapManager"); + tolua_function(tolua_S, "DoWithMap", tolua_DoWithID<cMapManager, cMap, &cMapManager::DoWithMap>); + tolua_endmodule(tolua_S); + tolua_beginmodule(tolua_S, "cPlugin"); tolua_function(tolua_S, "Call", tolua_cPlugin_Call); tolua_endmodule(tolua_S); |