Query: remove useless noise

why do we need 3 log messages for something that does ... basically nothing?
This commit is contained in:
Dylan K. Taylor
2019-03-24 19:53:14 +00:00
parent 23071d257e
commit 0811ce81e5
2 changed files with 2 additions and 3 deletions

View File

@ -52,10 +52,9 @@ class QueryHandler implements RawPacketHandler{
public function __construct(){ public function __construct(){
$this->server = Server::getInstance(); $this->server = Server::getInstance();
$this->server->getLogger()->info($this->server->getLanguage()->translateString("pocketmine.server.query.start"));
$addr = $this->server->getIp(); $addr = $this->server->getIp();
$port = $this->server->getPort(); $port = $this->server->getPort();
$this->server->getLogger()->info($this->server->getLanguage()->translateString("pocketmine.server.query.info", [$port]));
/* /*
The Query protocol is built on top of the existing Minecraft PE UDP network stack. The Query protocol is built on top of the existing Minecraft PE UDP network stack.
Because the 0xFE packet does not exist in the MCPE protocol, Because the 0xFE packet does not exist in the MCPE protocol,