diff options
author | Feyo Korenhof <35343640+feyokorenhof@users.noreply.github.com> | 2021-11-29 13:53:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 13:53:58 +0100 |
commit | 1be14ebf7f38ab446907b4c111370b3a62bdc268 (patch) | |
tree | 18c8b88096469ae04fff1228230ee3b7f0152ecb /src/Bindings/PluginManager.h | |
parent | Protocol: modernise plugin message handling (#5325) (diff) | |
download | cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.tar cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.tar.gz cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.tar.bz2 cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.tar.lz cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.tar.xz cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.tar.zst cuberite-1be14ebf7f38ab446907b4c111370b3a62bdc268.zip |
Diffstat (limited to '')
-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 c1f798291..417246d07 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -269,8 +269,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 CallHookPlayerFished (cPlayer & a_Player, const cItems & a_Reward); - bool CallHookPlayerFishing (cPlayer & a_Player, cItems a_Reward); + bool CallHookPlayerFished (cPlayer & a_Player, const cItems & a_Reward, const int ExperienceAmount); + bool CallHookPlayerFishing (cPlayer & a_Player, cItems & a_Reward, int & ExperienceAmount); bool CallHookPlayerFoodLevelChange (cPlayer & a_Player, int a_NewFoodLevel); bool CallHookPlayerJoined (cPlayer & a_Player); bool CallHookPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status); |