summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-21 21:32:40 +0200
committermadmaxoft <github@xoft.cz>2013-08-21 21:32:40 +0200
commite263fc7c7286f9df3c5a9793d4da03011f17be02 (patch)
tree91cbd1334ee8ddb6d0fe7f97c39e0ec541d46ebd /source
parentHook adding uses the new API. (diff)
downloadcuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.tar
cuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.tar.gz
cuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.tar.bz2
cuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.tar.lz
cuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.tar.xz
cuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.tar.zst
cuberite-e263fc7c7286f9df3c5a9793d4da03011f17be02.zip
Diffstat (limited to '')
-rw-r--r--source/ManualBindings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index 4ed5c1a16..4f8ff530d 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -892,6 +892,7 @@ static int tolua_cPluginManager_AddHook(lua_State * tolua_S)
else if (tolua_isusertype(S, ParamIdx, "cPlugin", 0, &err) && lua_isnumber(S, ParamIdx + 1))
{
// 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.");
return tolua_cPluginManager_AddHook_DefFn(PlgMgr, S, ParamIdx);
}