mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Replace disallowed operators in src/scheduler/
This commit is contained in:
@ -150,6 +150,6 @@ class TaskScheduler{
|
||||
}
|
||||
|
||||
private function isReady(int $currentTick) : bool{
|
||||
return !$this->queue->isEmpty() and $this->queue->current()->getNextRun() <= $currentTick;
|
||||
return !$this->queue->isEmpty() && $this->queue->current()->getNextRun() <= $currentTick;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user