mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Chunk: added DIRTY_FLAGS_ALL and DIRTY_FLAGS_NONE
This commit is contained in:
@@ -143,7 +143,7 @@ class FormatConverter{
|
||||
$thisRound = $start;
|
||||
foreach($this->oldProvider->getAllChunks(true, $this->logger) as $coords => $loadedChunkData){
|
||||
[$chunkX, $chunkZ] = $coords;
|
||||
$new->saveChunk($chunkX, $chunkZ, $loadedChunkData->getData(), ~0);
|
||||
$new->saveChunk($chunkX, $chunkZ, $loadedChunkData->getData(), Chunk::DIRTY_FLAGS_ALL);
|
||||
$counter++;
|
||||
if(($counter % $this->chunksPerProgressUpdate) === 0){
|
||||
$time = microtime(true);
|
||||
|
Reference in New Issue
Block a user