Added force-gamemode property

This commit is contained in:
Shoghi Cervantes
2014-06-24 12:18:51 +02:00
parent 0e679139d2
commit ecbfff9b0f
2 changed files with 12 additions and 0 deletions

View File

@ -307,6 +307,13 @@ class Server{
return $this->getConfigInt("gamemode", 0) & 0b11;
}
/**
* @return bool
*/
public function getForceGamemode(){
return $this->getConfigBoolean("force-gamemode", false);
}
/**
* Returns the gamemode text name
*