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