public function doTick() { if (!$this->rakLib->isTerminated()) { $this->interface->sendTick(); } else { $info = $this->rakLib->getTerminationInfo(); $this->server->removeInterface($this); \ExceptionHandler::handler(E_ERROR, "RakLib Thread crashed [" . $info["scope"] . "]: " . (isset($info["message"]) ? $info["message"] : ""), $info["file"], $info["line"]); } }