diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-20 16:01:30 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-20 16:01:30 +0200 |
commit | 228dd61995a404b6c59832bf8b0f8375374c8acc (patch) | |
tree | d9f920e0f0096ddc70f3a2289459091fdc201f66 /src/Bindings/PluginManager.cpp | |
parent | First implementation of HOOK_SERVER_PING. (diff) | |
download | cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.gz cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.bz2 cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.lz cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.xz cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.tar.zst cuberite-228dd61995a404b6c59832bf8b0f8375374c8acc.zip |
Diffstat (limited to 'src/Bindings/PluginManager.cpp')
-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 b9d28205d..fcbb446c1 100644 --- a/src/Bindings/PluginManager.cpp +++ b/src/Bindings/PluginManager.cpp @@ -1189,14 +1189,14 @@ bool cPluginManager::CallHookProjectileHitEntity(cProjectileEntity & a_Projectil -bool cPluginManager::CallHookServerPing(const AString & a_Username, AString & a_Motd, int & a_OnlinePlayersCount, int & a_MaxPlayersCount, AString & a_Favicon) +bool cPluginManager::CallHookServerPing(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_Username, a_Motd, a_OnlinePlayersCount, a_MaxPlayersCount, a_Favicon)) + if ((*itr)->OnServerPing(a_Motd, a_OnlinePlayersCount, a_MaxPlayersCount, a_Favicon)) { return true; } |