45 $this->blockPosition = $in->getSignedBlockPosition();
49 if($count > self::MAX_SAVED_CHUNKS){
50 throw new PacketDecodeException(
"Expected at most " . self::MAX_SAVED_CHUNKS .
" saved chunks, got " . $count);
52 for($i = 0, $this->savedChunks = []; $i < $count; $i++){
53 $this->savedChunks[] = ChunkPosition::read($in);