summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-21 21:41:34 +0200
committermadmaxoft <github@xoft.cz>2013-08-21 21:41:34 +0200
commit3957ca94e7b2ba56cf447e63af82b7ed8a73fc45 (patch)
tree372cfdc89b43e0cdb63a9428e371ad01c6894c39 /source
parentAdded a deprecation warning to the old style API. (diff)
downloadcuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.tar
cuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.tar.gz
cuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.tar.bz2
cuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.tar.lz
cuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.tar.xz
cuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.tar.zst
cuberite-3957ca94e7b2ba56cf447e63af82b7ed8a73fc45.zip
Diffstat (limited to 'source')
-rw-r--r--source/ManualBindings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index 4f8ff530d..27c6684f2 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -893,6 +893,7 @@ static int tolua_cPluginManager_AddHook(lua_State * tolua_S)
{
// The next params are a cPlugin and a number, assume style 3 or 4
LOGINFO("cPluginManager.AddHook(): Deprecated format used, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunction) instead. Fixing the call for you.");
+ S.LogStackTrace();
return tolua_cPluginManager_AddHook_DefFn(PlgMgr, S, ParamIdx);
}