diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-05 22:15:19 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-05 22:15:19 +0200 |
commit | 4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db (patch) | |
tree | f3a20ee4945a69eaa1dbd7dd79016c89d590520b /source/ManualBindings.cpp | |
parent | ProtectionAreas: Actual protection is now working, areas are hard-coded (10,10) - (20,20) (diff) | |
download | cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.tar cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.tar.gz cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.tar.bz2 cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.tar.lz cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.tar.xz cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.tar.zst cuberite-4d441e9ec7de40572cc2ace3cb0d9e5aab19a0db.zip |
Diffstat (limited to 'source/ManualBindings.cpp')
-rw-r--r-- | source/ManualBindings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp index 8d7fe9c42..fb0a471bf 100644 --- a/source/ManualBindings.cpp +++ b/source/ManualBindings.cpp @@ -1255,15 +1255,15 @@ tolua_lerror: -void ManualBindings::Bind( lua_State* tolua_S ) +void ManualBindings::Bind(lua_State * tolua_S) { tolua_beginmodule(tolua_S,NULL); tolua_function(tolua_S, "StringSplit", tolua_StringSplit); tolua_function(tolua_S, "LOG", tolua_LOG); tolua_function(tolua_S, "LOGINFO", tolua_LOGINFO); tolua_function(tolua_S, "LOGWARN", tolua_LOGWARN); + tolua_function(tolua_S, "LOGWARNING", tolua_LOGWARN); tolua_function(tolua_S, "LOGERROR", tolua_LOGERROR); - tolua_function(tolua_S, "Log", tolua_LOG); // Deprecated tolua_beginmodule(tolua_S, "cRoot"); tolua_function(tolua_S, "ForEachWorld", tolua_ForEach<cRoot, cWorld, &cRoot::ForEachWorld>); |