mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
TaskScheduler: fix typo in isReady() parameter
This commit is contained in:
parent
a8c766be88
commit
18fdbc2834
@ -211,8 +211,8 @@ class TaskScheduler{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function isReady(int $currentTicks) : bool{
|
private function isReady(int $currentTick) : bool{
|
||||||
return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTicks;
|
return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTick;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user