mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 07:54:19 +00:00
Move networkStart message to where we actually start network
i.e. the point at which a normal user can reasonably expect to be able to connect to the server ...
This commit is contained in:
parent
ca22223b62
commit
01e048c4d1
@ -1 +1 @@
|
||||
Subproject commit 5f9877c1bc08082f0917f284be023e26bb83d3ae
|
||||
Subproject commit b8ec058c4cf341ff0c4f08f315feb990b62ae0e5
|
@ -1190,7 +1190,6 @@ class Server{
|
||||
@cli_set_process_title($this->getName() . " " . $this->getPocketMineVersion());
|
||||
}
|
||||
|
||||
$this->logger->info($this->getLanguage()->translateString("pocketmine.server.networkStart", [$this->getIp(), $this->getPort()]));
|
||||
define("BOOTUP_RANDOM", random_bytes(16));
|
||||
$this->serverID = Utils::getMachineUniqueId($this->getIp() . $this->getPort());
|
||||
|
||||
@ -1321,6 +1320,7 @@ class Server{
|
||||
$this->enablePlugins(PluginLoadOrder::POSTWORLD);
|
||||
|
||||
$this->network->registerInterface(new RakLibInterface($this));
|
||||
$this->logger->info($this->getLanguage()->translateString("pocketmine.server.networkStart", [$this->getIp(), $this->getPort()]));
|
||||
|
||||
if($this->getConfigBool("enable-query", true)){
|
||||
$this->network->registerRawPacketHandler(new QueryHandler());
|
||||
|
Loading…
x
Reference in New Issue
Block a user