summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-20 22:19:50 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-20 22:19:50 +0200
commitcf5ab14ca59904e208bf6cb9d87134f01803eeed (patch)
tree065899b9622787fd7289795fa7dd6fe5022199e2 /src/Bindings/PluginManager.cpp
parentAdded "HOOK_SERVER_PING" call to older protocols (diff)
downloadcuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.tar
cuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.tar.gz
cuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.tar.bz2
cuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.tar.lz
cuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.tar.xz
cuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.tar.zst
cuberite-cf5ab14ca59904e208bf6cb9d87134f01803eeed.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 fcbb446c1..2ce46e8fe 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -1189,14 +1189,14 @@ bool cPluginManager::CallHookProjectileHitEntity(cProjectileEntity & a_Projectil
-bool cPluginManager::CallHookServerPing(AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon)
+bool cPluginManager::CallHookServerPing(cClientHandle & a_ClientHandle, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon)
{
FIND_HOOK(HOOK_SERVER_PING);
VERIFY_HOOK;
for (PluginList::iterator itr = Plugins->second.begin(); itr != Plugins->second.end(); ++itr)
{
- if ((*itr)->OnServerPing(a_Motd, a_OnlinePlayersCount, a_MaxPlayersCount, a_Favicon))
+ if ((*itr)->OnServerPing(a_ClientHandle, a_Motd, a_OnlinePlayersCount, a_MaxPlayersCount, a_Favicon))
{
return true;
}