Added some Travis-CI tests

This commit is contained in:
Shoghi Cervantes Pueyo
2013-02-09 00:57:41 +01:00
parent 90c8ac1461
commit c46eee611f
3 changed files with 39 additions and 1 deletions

View File

@@ -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");