Why are there such less task errors? i was using an undeclared function in plugin task and i didnt even knew until i saw, it gave me no errors in console :/
PHP: $this->getServer()->getScheduler()->scheduleDelayedRepeatingTask(new CoolDownTask($this), 1200, 1200); PHP: class CoolDownTask extends PluginTask{ private $plugin; public function __construct(Main $plugin){ parent::__construct($plugin); $this->plugin = $plugin; } public function onRun($tick){ $this->plugin->processCoolDown(); }}