mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Replace disallowed operators in src/scheduler/
This commit is contained in:
@ -42,7 +42,7 @@ abstract class Task{
|
||||
}
|
||||
|
||||
final public function setHandler(?TaskHandler $taskHandler) : void{
|
||||
if($this->taskHandler === null or $taskHandler === null){
|
||||
if($this->taskHandler === null || $taskHandler === null){
|
||||
$this->taskHandler = $taskHandler;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user