Improved /status, added world information

This commit is contained in:
Shoghi Cervantes
2015-05-06 19:11:17 +02:00
parent a4769248fb
commit 82b0dbfe8e
3 changed files with 64 additions and 6 deletions

View File

@ -237,6 +237,7 @@ class Level implements ChunkManager, Metadatable{
public $timings;
private $tickRate;
public $tickRateTime = 0;
public $tickRateCounter = 0;
/** @var Generator */
@ -337,6 +338,10 @@ class Level implements ChunkManager, Metadatable{
return $this->tickRate;
}
public function getTickRateTime(){
return $this->tickRateTime;
}
public function setTickRate($tickRate){
$this->tickRate = (int) $tickRate;
}