mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Implemented partial chunk saving on LevelDB (#3078)
This commit is contained in:
@@ -135,6 +135,7 @@ class FormatConverter{
|
||||
$thisRound = $start;
|
||||
static $reportInterval = 256;
|
||||
foreach($this->oldProvider->getAllChunks(true, $this->logger) as $chunk){
|
||||
$chunk->setDirty();
|
||||
$new->saveChunk($chunk);
|
||||
$counter++;
|
||||
if(($counter % $reportInterval) === 0){
|
||||
|
Reference in New Issue
Block a user