mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
parent
0811ce81e5
commit
999174b0a7
@ -1267,8 +1267,6 @@ class Server{
|
||||
|
||||
$this->enablePlugins(PluginLoadOrder::STARTUP);
|
||||
|
||||
$this->network->registerInterface(new RakLibInterface($this));
|
||||
|
||||
foreach((array) $this->getProperty("worlds", []) as $name => $options){
|
||||
if($options === null){
|
||||
$options = [];
|
||||
@ -1322,6 +1320,8 @@ class Server{
|
||||
|
||||
$this->enablePlugins(PluginLoadOrder::POSTWORLD);
|
||||
|
||||
$this->network->registerInterface(new RakLibInterface($this));
|
||||
|
||||
if($this->getConfigBool("enable-query", true)){
|
||||
$this->network->registerRawPacketHandler(new QueryHandler());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user