diff options
author | Mattes D <github@xoft.cz> | 2015-04-15 11:07:03 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-15 11:07:03 +0200 |
commit | 1d8a22cb7b867b3378b355e52ae56e2433fa7cb3 (patch) | |
tree | d5ab0c710fc93acdc2b8a2041d40c6d918fbbf33 /src/Bindings | |
parent | Merge pull request #1844 from DevToaster/master (diff) | |
parent | Scooping up fluid calls the player placement hooks. (diff) | |
download | cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.tar cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.tar.gz cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.tar.bz2 cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.tar.lz cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.tar.xz cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.tar.zst cuberite-1d8a22cb7b867b3378b355e52ae56e2433fa7cb3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.h | 5 |
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 |