diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-08-04 12:07:10 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-08-27 14:54:44 +0200 |
commit | 099e82db67b093eb009c6c5d80278c2e5ee128ee (patch) | |
tree | 9ca877b573bbf507a152f024b91ef44d1608c788 /src/Bindings/PluginManager.h | |
parent | Removed unnecessary brackets (diff) | |
download | cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.gz cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.bz2 cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.lz cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.xz cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.zst cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.zip |
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r-- | src/Bindings/PluginManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index 5f765fd03..d7bbf62c2 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -256,8 +256,8 @@ public: bool CallHookPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta); bool CallHookPlayerDestroyed (cPlayer & a_Player); bool CallHookPlayerEating (cPlayer & a_Player); - bool CallHookPlayerEditedBook (cPlayer & a_Player, cBookContent & a_BookContent, bool a_IsSigned); - bool CallHookPlayerEditingBook (cPlayer & a_Player, cBookContent & a_BookContent, bool a_IsSigned); + bool CallHookPlayerEditedBook (cPlayer & a_Player, const cBookContent & a_NewContent, bool a_IsSigned); + bool CallHookPlayerEditingBook (cPlayer & a_Player, const cBookContent & a_OrigialContent, cBookContent & a_NewContent, bool a_IsSigned); bool CallHookPlayerFished (cPlayer & a_Player, const cItems & a_Reward); bool CallHookPlayerFishing (cPlayer & a_Player, cItems a_Reward); bool CallHookPlayerFoodLevelChange (cPlayer & a_Player, int a_NewFoodLevel); |