diff options
author | Kirill Kirilenko <kirill@ultracoder.org> | 2015-01-16 16:42:19 +0100 |
---|---|---|
committer | Kirill Kirilenko <kirill@ultracoder.org> | 2015-01-17 13:19:23 +0100 |
commit | 2ce2741968e861d10acfe1e7b012ec2448accdc7 (patch) | |
tree | 4a686cddc94edfdac1854c3127e9e4342c452690 /src/Bindings/PluginManager.cpp | |
parent | CMake: Check libs in submodules before configuring. (diff) | |
download | cuberite-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.cpp')
-rw-r--r-- | src/Bindings/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp index fad0a36d2..6fb9a5acb 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -771,7 +771,7 @@ bool cPluginManager::CallHookPlayerFoodLevelChange(cPlayer & a_Player, int a_New -bool cPluginManager::CallHookPlayerFished(cPlayer & a_Player, const cItems a_Reward) +bool cPluginManager::CallHookPlayerFished(cPlayer & a_Player, const cItems & a_Reward) { FIND_HOOK(HOOK_PLAYER_FISHED); VERIFY_HOOK; @@ -847,7 +847,7 @@ bool cPluginManager::CallHookPlayerLeftClick(cPlayer & a_Player, int a_BlockX, i -bool cPluginManager::CallHookPlayerMoving(cPlayer & a_Player, const Vector3d a_OldPosition, const Vector3d a_NewPosition) +bool cPluginManager::CallHookPlayerMoving(cPlayer & a_Player, const Vector3d & a_OldPosition, const Vector3d & a_NewPosition) { FIND_HOOK(HOOK_PLAYER_MOVING); VERIFY_HOOK; |