Added __debugInfo() to Server and Level

This commit is contained in:
Shoghi Cervantes 2014-09-01 17:37:28 +02:00
parent 11f684d803
commit 97c87aa8fa
2 changed files with 8 additions and 0 deletions

View File

@ -1916,6 +1916,10 @@ class Server{
}
public function __debugInfo(){
return get_class($this);
}
private function tickProcessor(){
$lastLoop = 0;
$connectionTimer = Timings::$connectionTimer;

View File

@ -635,6 +635,10 @@ class Level implements ChunkManager, Metadatable{
$this->chunkTickList = [];
}
}
public function __debugInfo(){
return get_class($this);
}
/**
* @param bool $force