diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-23 22:49:21 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-23 22:49:21 +0200 |
commit | 263ce31bd6b80d0cdb33232ce09a81c14d6a0e95 (patch) | |
tree | f3fd398d798e51a12b47d6758ae23de74f438e17 /source/ManualBindings.cpp | |
parent | Fixed Bug #237 (diff) | |
download | cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.gz cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.bz2 cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.lz cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.xz cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.zst cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.zip |
Diffstat (limited to 'source/ManualBindings.cpp')
-rw-r--r-- | source/ManualBindings.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp index f25a56aa2..5133d03c7 100644 --- a/source/ManualBindings.cpp +++ b/source/ManualBindings.cpp @@ -607,7 +607,10 @@ static int tolua_cPlugin_NewLua_AddWebTab(lua_State* tolua_S) static int tolua_cPlugin_NewLua_AddTab(lua_State* tolua_S) { - LOGWARN("WARNING: Using deprecated function AddTab()! Use AddWebTab() instead."); + cPlugin_NewLua * self = (cPlugin_NewLua *) tolua_tousertype(tolua_S, 1, 0); + LOGWARN("WARNING: Using deprecated function AddTab()! Use AddWebTab() instead. (plugin \"%s\" in folder \"%s\")", + self->GetName().c_str(), self->GetDirectory().c_str() + ); return tolua_cPlugin_NewLua_AddWebTab( tolua_S ); } |