mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 08:39:53 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1a064d38b1
@ -127,6 +127,10 @@ class TaskHandler{
|
||||
return $this->period;
|
||||
}
|
||||
|
||||
/**
|
||||
* WARNING: Do not use this, it's only for internal use.
|
||||
* Changes to this function won't be recorded on the version.
|
||||
*/
|
||||
public function cancel(){
|
||||
if(!$this->isCancelled()){
|
||||
$this->task->onCancel();
|
||||
|
Loading…
x
Reference in New Issue
Block a user