diff --git a/src/pocketmine/scheduler/TaskHandler.php b/src/pocketmine/scheduler/TaskHandler.php index 42114a58a..70b9f7ba5 100644 --- a/src/pocketmine/scheduler/TaskHandler.php +++ b/src/pocketmine/scheduler/TaskHandler.php @@ -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(); @@ -156,4 +160,4 @@ class TaskHandler{ return get_class($this->task); } -} \ No newline at end of file +}