mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +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{
|
||||
return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTicks;
|
||||
private function isReady(int $currentTick) : bool{
|
||||
return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTick;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user