public function onRun($tick, $manual = false) { DebugUtils::taskCalled($this); if ($this->getOwner()->getConfig()->get('commandChecker') || $manual) { $task = new PendingUsersTask($this->getOwner()); $task->call(); } }
public function onRun($tick) { DebugUtils::taskCalled($this); if (count($this->deleteQueue) > 0) { $this->data["commands"] = json_encode($this->deleteQueue); $this->send(); $this->deleteQueue = []; } }
public function onRun() { DebugUtils::taskCalled($this); $this->autoloader->register(true); $this->send(); $this->onProcess(); }