mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 02:38:54 +00:00
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:
parent
767f0dcbf6
commit
be7e97e0bb
@ -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())
|
||||
])
|
||||
]) . ";"
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user