mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +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->timingName = $timingName === null ? "Unknown" : $timingName;
|
||||
$this->timings = Timings::getPluginTaskTimings($this, $period);
|
||||
$this->task->setHandler($this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user