diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-20 22:22:38 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-20 22:22:38 +0200 |
commit | 4da61e67d7638c46dc56fe451e81a5b4b0f134db (patch) | |
tree | 2e79681edadd6be596cdf8c18a29ea2c9a7be55d /src/Bindings/PluginManager.cpp | |
parent | Added a_ClientHandle to the HOOK_SERVER_PING hook. (diff) | |
download | cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.gz cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.bz2 cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.lz cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.xz cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.tar.zst cuberite-4da61e67d7638c46dc56fe451e81a5b4b0f134db.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 2ce46e8fe..f708c2d85 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -1189,14 +1189,14 @@ bool cPluginManager::CallHookProjectileHitEntity(cProjectileEntity & a_Projectil -bool cPluginManager::CallHookServerPing(cClientHandle & a_ClientHandle, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) +bool cPluginManager::CallHookServerPing(cClientHandle & a_ClientHandle, AString & a_ServerDescription, 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_ClientHandle, a_Motd, a_OnlinePlayersCount, a_MaxPlayersCount, a_Favicon)) + if ((*itr)->OnServerPing(a_ClientHandle, a_ServerDescription, a_OnlinePlayersCount, a_MaxPlayersCount, a_Favicon)) { return true; } |