summaryrefslogtreecommitdiffstats
path: root/source/cPlugin_NewLua.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/cPlugin_NewLua.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 'source/cPlugin_NewLua.cpp')
-rw-r--r--source/cPlugin_NewLua.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/cPlugin_NewLua.cpp b/source/cPlugin_NewLua.cpp
index df197e273..a80c8c987 100644
--- a/source/cPlugin_NewLua.cpp
+++ b/source/cPlugin_NewLua.cpp
@@ -633,9 +633,11 @@ bool cPlugin_NewLua::OnUpdatedSign(
-cPlugin_NewLua* cPlugin_NewLua::CreateWebPlugin(lua_State* a_LuaState)
+cPlugin_NewLua * cPlugin_NewLua::CreateWebPlugin(lua_State * a_LuaState)
{
- LOGWARN("WARNING: Using deprecated function CreateWebPlugin()! A Lua plugin is a WebPlugin by itself now.");
+ LOGWARN("WARNING: Using deprecated function CreateWebPlugin()! A Lua plugin is a WebPlugin by itself now. (plugin \"%s\" in folder \"%s\")",
+ cPlugin::GetName().c_str(), m_Directory.c_str()
+ );
return this;
}