summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-13 12:33:25 +0200
committerMattes D <github@xoft.cz>2015-04-13 12:33:25 +0200
commit29af16143e19bc6b1ba3b168c5020657969f83a4 (patch)
treef93fcae7de9be73f36c5f9f0298bdc11ce4768b5 /src
parentHookNotify: Rewritten for generic hooks. (diff)
downloadcuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.tar
cuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.tar.gz
cuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.tar.bz2
cuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.tar.lz
cuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.tar.xz
cuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.tar.zst
cuberite-29af16143e19bc6b1ba3b168c5020657969f83a4.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginManager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index 4efcbb6f3..be6ff021a 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -134,6 +134,8 @@ public:
HOOK_WEATHER_CHANGING,
HOOK_WORLD_STARTED,
HOOK_WORLD_TICK,
+
+ // tolua_end
// Note that if a hook type is added, it may need processing in cPlugin::CanAddHook() descendants,
// and it definitely needs adding in cPluginLua::GetHookFnName() !
@@ -141,8 +143,7 @@ public:
// Keep these two as the last items, they are used for validity checking and get their values automagically
HOOK_NUM_HOOKS,
HOOK_MAX = HOOK_NUM_HOOKS - 1,
- } ;
- // tolua_end
+ } ; // tolua_export
/** Used as a callback for enumerating bound commands */
class cCommandEnumCallback