diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-08-03 11:14:53 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-08-27 14:54:42 +0200 |
commit | 2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb (patch) | |
tree | 3cb4afd2603360ba5927febc1b6ec7311b6673da /src/Bindings | |
parent | APIDcoc: Added return value in constructor, AString as ref and updated comment (diff) | |
download | cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.tar cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.tar.gz cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.tar.bz2 cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.tar.lz cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.tar.xz cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.tar.zst cuberite-2d2bfcdbd8a80fd5f7c74d34479ff1e2ca6d02fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginLua.cpp | 4 | ||||
-rw-r--r-- | src/Bindings/PluginManager.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp index 7d00b9fcf..2a4fb4494 100644 --- a/src/Bindings/PluginLua.cpp +++ b/src/Bindings/PluginLua.cpp @@ -1080,6 +1080,8 @@ const char * cPluginLua::GetHookFnName(int a_HookType) case cPluginManager::HOOK_PLAYER_BREAKING_BLOCK: return "OnPlayerBreakingBlock"; case cPluginManager::HOOK_PLAYER_BROKEN_BLOCK: return "OnPlayerBrokenBlock"; case cPluginManager::HOOK_PLAYER_EATING: return "OnPlayerEating"; + case cPluginManager::HOOK_PLAYER_EDITED_BOOK: return "OnPlayerEditedBook"; + case cPluginManager::HOOK_PLAYER_EDITING_BOOK: return "OnPlayerSigningdBook"; case cPluginManager::HOOK_PLAYER_JOINED: return "OnPlayerJoined"; case cPluginManager::HOOK_PLAYER_LEFT_CLICK: return "OnPlayerLeftClick"; case cPluginManager::HOOK_PLAYER_MOVING: return "OnPlayerMoving"; @@ -1088,8 +1090,6 @@ const char * cPluginLua::GetHookFnName(int a_HookType) case cPluginManager::HOOK_PLAYER_PLACING_BLOCK: return "OnPlayerPlacingBlock"; case cPluginManager::HOOK_PLAYER_RIGHT_CLICK: return "OnPlayerRightClick"; case cPluginManager::HOOK_PLAYER_RIGHT_CLICKING_ENTITY: return "OnPlayerRightClickingEntity"; - case cPluginManager::HOOK_PLAYER_EDITED_BOOK: return "OnPlayerEditedBook"; - case cPluginManager::HOOK_PLAYER_EDITING_BOOK: return "OnPlayerSigningdBook"; case cPluginManager::HOOK_PLAYER_SHOOTING: return "OnPlayerShooting"; case cPluginManager::HOOK_PLAYER_SPAWNED: return "OnPlayerSpawned"; case cPluginManager::HOOK_PLAYER_TOSSING_ITEM: return "OnPlayerTossingItem"; diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index 9552f3f86..5f765fd03 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -107,6 +107,8 @@ public: HOOK_PLAYER_BROKEN_BLOCK, HOOK_PLAYER_DESTROYED, HOOK_PLAYER_EATING, + HOOK_PLAYER_EDITING_BOOK, + HOOK_PLAYER_EDITED_BOOK, HOOK_PLAYER_FISHED, HOOK_PLAYER_FISHING, HOOK_PLAYER_FOOD_LEVEL_CHANGE, @@ -118,8 +120,6 @@ public: HOOK_PLAYER_PLACING_BLOCK, HOOK_PLAYER_RIGHT_CLICK, HOOK_PLAYER_RIGHT_CLICKING_ENTITY, - HOOK_PLAYER_EDITING_BOOK, - HOOK_PLAYER_EDITED_BOOK, HOOK_PLAYER_SHOOTING, HOOK_PLAYER_SPAWNED, HOOK_ENTITY_TELEPORT, |