summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-17 19:52:26 +0100
committerMattes D <github@xoft.cz>2015-01-17 19:52:26 +0100
commit50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050 (patch)
tree7dabeb891ea4d1efc8cbc9c55d5530cf9e9d301a /src/Bindings/PluginManager.cpp
parentCMake: Check libs in submodules before configuring. (diff)
parentFixed CppCheck: (performance) Prefer prefix ++/-- operators for non-primitive types. (diff)
downloadcuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar
cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.gz
cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.bz2
cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.lz
cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.xz
cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.tar.zst
cuberite-50918a5214ed748f4ba4b0f4d36ddf7cb1ed3050.zip
Diffstat (limited to 'src/Bindings/PluginManager.cpp')
-rw-r--r--src/Bindings/PluginManager.cpp4
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;