mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Removed the rcon.port property, being the same as the server
This commit is contained in:
parent
2ae0cf65c5
commit
1c03fb0de9
@ -118,7 +118,6 @@ class ServerAPI{
|
||||
"enable-query" => false,
|
||||
"enable-rcon" => false,
|
||||
"rcon.password" => substr(base64_encode(Utils::getRandomBytes(20, false)), 3, 10),
|
||||
"rcon.port" => 19132,
|
||||
"upnp-forwarding" => false,
|
||||
"send-usage" => true,
|
||||
));
|
||||
@ -348,7 +347,7 @@ class ServerAPI{
|
||||
}
|
||||
|
||||
if($this->getProperty("enable-rcon") === true){
|
||||
$this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("rcon.port", 19132));
|
||||
$this->rcon = new RCON($this->getProperty("rcon.password", ""), $this->getProperty("server-port"));
|
||||
}
|
||||
if($this->getProperty("enable-query") === true){
|
||||
$this->query = new Query();
|
||||
|
Loading…
x
Reference in New Issue
Block a user