summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorKirill Kirilenko <kirill@ultracoder.org>2015-01-16 16:42:19 +0100
committerKirill Kirilenko <kirill@ultracoder.org>2015-01-17 13:19:23 +0100
commit2ce2741968e861d10acfe1e7b012ec2448accdc7 (patch)
tree4a686cddc94edfdac1854c3127e9e4342c452690 /src/Bindings/PluginManager.h
parentCMake: Check libs in submodules before configuring. (diff)
downloadcuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.tar
cuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.tar.gz
cuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.tar.bz2
cuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.tar.lz
cuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.tar.xz
cuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.tar.zst
cuberite-2ce2741968e861d10acfe1e7b012ec2448accdc7.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 d4b82376a..576430964 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -203,12 +203,12 @@ 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 CallHookPlayerFished (cPlayer & a_Player, const cItems & a_Reward);
bool CallHookPlayerFishing (cPlayer & a_Player, cItems a_Reward);
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);
- bool CallHookPlayerMoving (cPlayer & a_Player, const Vector3d a_OldPosition, const Vector3d a_NewPosition);
+ bool CallHookPlayerMoving (cPlayer & a_Player, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition);
bool CallHookPlayerPlacedBlock (cPlayer & a_Player, const sSetBlock & a_BlockChange);
bool CallHookPlayerPlacingBlock (cPlayer & a_Player, const sSetBlock & a_BlockChange);
bool CallHookPlayerRightClick (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ);