mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 23:29:54 +00:00
LevelDB: clearer error message
This commit is contained in:
parent
b33a9690e9
commit
86810c5e1c
@ -305,7 +305,7 @@ class LevelDB extends BaseWorldProvider implements WritableWorldProvider{
|
|||||||
$result[$nextIndex++] = $decoded;
|
$result[$nextIndex++] = $decoded;
|
||||||
}elseif($stream->feof()){
|
}elseif($stream->feof()){
|
||||||
//not enough padding biome arrays for the given version - this is non-critical since we discard the excess anyway, but this should be logged
|
//not enough padding biome arrays for the given version - this is non-critical since we discard the excess anyway, but this should be logged
|
||||||
$logger->error("Wrong number of 3D biome palettes: expected $expectedCount, but got " . ($i + 1) . " - this is not a problem, but may indicate a corrupted chunk");
|
$logger->error("Wrong number of 3D biome palettes for this chunk version: expected $expectedCount, but got " . ($i + 1) . " - this is not a problem, but may indicate a corrupted chunk");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}catch(BinaryDataException $e){
|
}catch(BinaryDataException $e){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user