mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Improved /status, added world information
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user