mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added some Travis-CI tests
This commit is contained in:
parent
90c8ac1461
commit
c46eee611f
3 changed files with 39 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ class ServerAPI{
|
|||
if(!$this->config->exists("invisible")){
|
||||
$this->config->set("invisible", false);
|
||||
}
|
||||
if(is_object($this->server)){
|
||||
if($this->server instanceof PocketMinecraftServer){
|
||||
$this->server->setType($this->getProperty("server-type"));
|
||||
$this->server->timePerSecond = $this->getProperty("time-per-second");
|
||||
$this->server->invisible = $this->getProperty("invisible");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue