mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +00:00
Fix getHandler() returns null on tasks (#3)
This commit is contained in:
parent
5485b63e6e
commit
7145e16bce
@ -62,6 +62,7 @@ class TaskHandler{
|
|||||||
$this->period = $period;
|
$this->period = $period;
|
||||||
$this->timingName = $timingName === null ? "Unknown" : $timingName;
|
$this->timingName = $timingName === null ? "Unknown" : $timingName;
|
||||||
$this->timings = Timings::getPluginTaskTimings($this, $period);
|
$this->timings = Timings::getPluginTaskTimings($this, $period);
|
||||||
|
$this->task->setHandler($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user