mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Chunks no longer contain their own coordinates
This commit is contained in:
@@ -138,9 +138,10 @@ class FormatConverter{
|
||||
|
||||
$start = microtime(true);
|
||||
$thisRound = $start;
|
||||
foreach($this->oldProvider->getAllChunks(true, $this->logger) as $chunk){
|
||||
foreach($this->oldProvider->getAllChunks(true, $this->logger) as $coords => $chunk){
|
||||
[$chunkX, $chunkZ] = $coords;
|
||||
$chunk->setDirty();
|
||||
$new->saveChunk($chunk);
|
||||
$new->saveChunk($chunkX, $chunkZ, $chunk);
|
||||
$counter++;
|
||||
if(($counter % $this->chunksPerProgressUpdate) === 0){
|
||||
$time = microtime(true);
|
||||
|
Reference in New Issue
Block a user