summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
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.cpp
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/PluginManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index b863a95b5..027b87545 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -694,7 +694,7 @@ bool cPluginManager::CallHookPlayerEating(cPlayer & a_Player)
-bool cPluginManager::CallHookPlayerFished(cPlayer & a_Player, cItems a_Reward)
+bool cPluginManager::CallHookPlayerFished(cPlayer & a_Player, const cItems a_Reward)
{
HookMap::iterator Plugins = m_Hooks.find(HOOK_PLAYER_FISHED);
if (Plugins == m_Hooks.end())
@@ -715,7 +715,7 @@ bool cPluginManager::CallHookPlayerFished(cPlayer & a_Player, cItems a_Reward)
-bool cPluginManager::CallHookPlayerFishing(cPlayer & a_Player, cItems a_Reward)
+bool cPluginManager::CallHookPlayerFishing(cPlayer & a_Player, const cItems a_Reward)
{
HookMap::iterator Plugins = m_Hooks.find(HOOK_PLAYER_FISHING);
if (Plugins == m_Hooks.end())