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(){ private function tickProcessor(){
$lastLoop = 0; $lastLoop = 0;
$connectionTimer = Timings::$connectionTimer; $connectionTimer = Timings::$connectionTimer;

View File

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