more :D :D

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-07 02:35:12 +01:00
parent 978d453b6c
commit 92469a426f
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ class PocketMinecraftServer{
$this->trigger("onChat", $text);
}
public function setType($type = "demo"){
public function setType($type = "normal"){
switch($type){
case "normal":
$this->serverType = "MCCPP;Demo;";

View File

@ -89,7 +89,7 @@ foreach($prop as $line){
define("DEBUG", $config["debug"]);
$server = new PocketMinecraftServer($config["server-name"], $config["gamemode"], $config["seed"], $config["protocol"], $config["port"], $config["server-id"]);
$server->setType($config["type"]);
$server->setType($config["server-type"]);
$server->timePerSecond = $config["time-per-second"];
$server->maxClients = $config["max-players"];
$server->description = $config["description"];