mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Correctly load Anvil worlds
This commit is contained in:
parent
1578fc3ddb
commit
0aebcb9f81
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user