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