summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-31 14:53:10 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-31 14:53:10 +0100
commit020a8b457d67a70f407482322188823af9ac7f72 (patch)
tree0a285b6897b4f403696d19b23579d96da5458a6b /src/Bindings/PluginManager.h
parentDocumented OnPlayerFished and OnPlayerFishing. (diff)
downloadcuberite-020a8b457d67a70f407482322188823af9ac7f72.tar
cuberite-020a8b457d67a70f407482322188823af9ac7f72.tar.gz
cuberite-020a8b457d67a70f407482322188823af9ac7f72.tar.bz2
cuberite-020a8b457d67a70f407482322188823af9ac7f72.tar.lz
cuberite-020a8b457d67a70f407482322188823af9ac7f72.tar.xz
cuberite-020a8b457d67a70f407482322188823af9ac7f72.tar.zst
cuberite-020a8b457d67a70f407482322188823af9ac7f72.zip
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r--src/Bindings/PluginManager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index da867c7b0..c6a8b8b9f 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -170,8 +170,8 @@ public: // tolua_export
bool CallHookPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
bool CallHookPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
bool CallHookPlayerEating (cPlayer & a_Player);
- bool CallHookPlayerFished (cPlayer & a_Player, cItems a_Reward);
- bool CallHookPlayerFishing (cPlayer & a_Player, cItems a_Reward);
+ bool CallHookPlayerFished (cPlayer & a_Player, const cItems a_Reward);
+ bool CallHookPlayerFishing (cPlayer & a_Player, const cItems a_Reward);
bool CallHookPlayerJoined (cPlayer & a_Player);
bool CallHookPlayerMoving (cPlayer & a_Player);
bool CallHookPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status);