diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-31 14:53:10 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-31 14:53:10 +0100 |
commit | 020a8b457d67a70f407482322188823af9ac7f72 (patch) | |
tree | 0a285b6897b4f403696d19b23579d96da5458a6b /src/Bindings/PluginManager.cpp | |
parent | Documented OnPlayerFished and OnPlayerFishing. (diff) | |
download | cuberite-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.cpp | 4 |
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()) |