some changes.

This commit is contained in:
kotyaralih 2021-12-28 12:02:09 -08:00
parent 11cf320a39
commit b1c28ed51b
3 changed files with 26 additions and 1 deletions

View file

@ -224,7 +224,7 @@ class PMFLevel extends PMF{
if(($info[0] & $t) === $t){
// 4096 + 2048 + 2048, Block Data, Meta, Light
if(strlen($this->chunks[$index][$Y] = gzread($chunk, 8192)) < 8192){
console("[NOTICE] Empty corrupt chunk detected [$X,$Z,:$Y], recovering contents");
console("[NOTICE] Empty corrupt chunk detected [$X,$Z,:$Y], recovering contents", true, true, 2);
$this->fillMiniChunk($X, $Z, $Y);
}
}else{