Fixed server ping responses showing up in the wrong entries on the client

Seems it doesn't like negative numbers
This commit is contained in:
Dylan K. Taylor 2017-07-11 09:28:36 +01:00
parent 767f0dcbf6
commit be7e97e0bb

View File

@ -176,10 +176,10 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
ProtocolInfo::MINECRAFT_VERSION_NETWORK,
$info->getPlayerCount(),
$info->getMaxPlayerCount(),
"-1",
"0",
$this->server->getName(),
Server::getGamemodeName($this->server->getGamemode())
])
]) . ";"
);
}