/** * Handles new packets */ public function process() { if ($this->isReady) { $this->onTick->run($this); } Timer::update(); $this->connector->read(); }