mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Fixed timings ticks getting reset
This commit is contained in:
@ -46,7 +46,7 @@ class TimingsHandler{
|
||||
* @param string $name
|
||||
* @param TimingsHandler $parent
|
||||
*/
|
||||
public function __construct($name, $parent = null){
|
||||
public function __construct($name, TimingsHandler $parent = null){
|
||||
$this->name = $name;
|
||||
if($parent instanceof TimingsHandler){
|
||||
$this->parent = $parent;
|
||||
|
Reference in New Issue
Block a user