diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-20 22:19:50 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-20 22:19:50 +0200 |
commit | cf5ab14ca59904e208bf6cb9d87134f01803eeed (patch) | |
tree | 065899b9622787fd7289795fa7dd6fe5022199e2 /src/Protocol/Protocol17x.cpp | |
parent | Added "HOOK_SERVER_PING" call to older protocols (diff) | |
download | cuberite-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/Protocol/Protocol17x.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 0a9d70bcc..565532913 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -1721,7 +1721,7 @@ void cProtocol172::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) int NumPlayers = Server->GetNumPlayers(); int MaxPlayers = Server->GetMaxPlayers(); AString Favicon = Server->GetFaviconData(); - cRoot::Get()->GetPluginManager()->CallHookServerPing(Motd, NumPlayers, MaxPlayers, Favicon); + cRoot::Get()->GetPluginManager()->CallHookServerPing(*m_Client, Motd, NumPlayers, MaxPlayers, Favicon); // Version: Json::Value Version; @@ -3091,7 +3091,7 @@ void cProtocol176::HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) int NumPlayers = Server->GetNumPlayers(); int MaxPlayers = Server->GetMaxPlayers(); AString Favicon = Server->GetFaviconData(); - cRoot::Get()->GetPluginManager()->CallHookServerPing(Motd, NumPlayers, MaxPlayers, Favicon); + cRoot::Get()->GetPluginManager()->CallHookServerPing(*m_Client, Motd, NumPlayers, MaxPlayers, Favicon); // Version: Json::Value Version; |