public function sendChunk($levelID, FullChunk $chunk)
 {
     $binary = chr(self::PACKET_SEND_CHUNK) . Binary::writeInt($levelID) . chr(strlen($class = get_class($chunk))) . $class . $chunk->toBinary();
     $this->thread->pushThreadToMainPacket($binary);
 }
 public function sendChunk($levelID, FullChunk $chunk)
 {
     $binary = \chr(self::PACKET_SEND_CHUNK) . \pack("N", $levelID) . \chr(\strlen($class = \get_class($chunk))) . $class . $chunk->toBinary();
     $this->thread->pushThreadToMainPacket($binary);
 }