summaryrefslogtreecommitdiffstats
path: root/source/ManualBindings.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 22:49:21 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 22:49:21 +0200
commit263ce31bd6b80d0cdb33232ce09a81c14d6a0e95 (patch)
treef3fd398d798e51a12b47d6758ae23de74f438e17 /source/ManualBindings.cpp
parentFixed Bug #237 (diff)
downloadcuberite-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 '')
-rw-r--r--source/ManualBindings.cpp5
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 );
}