mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Fixed missing logger injection
This commit is contained in:
parent
8cb24547ff
commit
dfc26395e2
@ -132,7 +132,7 @@ class FormatConverter{
|
|||||||
$start = microtime(true);
|
$start = microtime(true);
|
||||||
$thisRound = $start;
|
$thisRound = $start;
|
||||||
static $reportInterval = 256;
|
static $reportInterval = 256;
|
||||||
foreach($this->oldProvider->getAllChunks(true) as $chunk){
|
foreach($this->oldProvider->getAllChunks(true, $this->logger) as $chunk){
|
||||||
$new->saveChunk($chunk);
|
$new->saveChunk($chunk);
|
||||||
$counter++;
|
$counter++;
|
||||||
if(($counter % $reportInterval) === 0){
|
if(($counter % $reportInterval) === 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user