mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Removed /invisible
This commit is contained in:
parent
ac486ec970
commit
1014052a57
2 changed files with 0 additions and 26 deletions
|
|
@ -64,7 +64,6 @@ class ServerAPI{
|
|||
"server-ip" => "",
|
||||
"server-port" => 19132,
|
||||
"server-type" => "normal",
|
||||
"server-invisible" => false,
|
||||
"memory-limit" => "128M",
|
||||
"last-update" => false,
|
||||
"white-list" => false,
|
||||
|
|
@ -226,12 +225,8 @@ class ServerAPI{
|
|||
$this->setProperty("memory-limit", "128M");
|
||||
}
|
||||
|
||||
if(!$this->config->exists("server-invisible")){
|
||||
$this->config->set("server-invisible", false);
|
||||
}
|
||||
if($this->server instanceof PocketMinecraftServer){
|
||||
$this->server->setType($this->getProperty("server-type"));
|
||||
$this->server->invisible = $this->getProperty("server-invisible");
|
||||
$this->server->maxClients = $this->getProperty("max-players");
|
||||
$this->server->description = $this->getProperty("description");
|
||||
$this->server->motd = $this->getProperty("motd");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue