mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Correctly load Anvil worlds
This commit is contained in:
@ -131,7 +131,7 @@ class RegionLoader{
|
||||
}
|
||||
|
||||
$chunk = $this->unserializeChunk(fread($this->filePointer, $length - 1));
|
||||
if($chunk instanceof Chunk){
|
||||
if($chunk instanceof FullChunk){
|
||||
return $chunk;
|
||||
}elseif($forward === false){
|
||||
MainLogger::getLogger()->error("Corrupted chunk detected");
|
||||
|
Reference in New Issue
Block a user