summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.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/Plugin.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 '')
-rw-r--r--src/Bindings/Plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index 80356304a..80d9316e4 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -68,8 +68,8 @@ public:
virtual bool OnPlayerBreakingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual bool OnPlayerBrokenBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual bool OnPlayerEating (cPlayer & a_Player) = 0;
- virtual bool OnPlayerFished (cPlayer & a_Player, cItems & a_Reward) = 0;
- virtual bool OnPlayerFishing (cPlayer & a_Player, cItems & a_Reward) = 0;
+ virtual bool OnPlayerFished (cPlayer & a_Player, const cItems & a_Reward) = 0;
+ virtual bool OnPlayerFishing (cPlayer & a_Player, const cItems & a_Reward) = 0;
virtual bool OnPlayerJoined (cPlayer & a_Player) = 0;
virtual bool OnPlayerLeftClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status) = 0;
virtual bool OnPlayerMoved (cPlayer & a_Player) = 0;