mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Treat not existent region files as empty (not generated) chunks. Fixes #57
This commit is contained in:
parent
71c165fe53
commit
6e123e1c3f
@ -253,6 +253,8 @@ private Chunk loadChunk(Vector2i chunkPos) throws IOException {
|
||||
} else {
|
||||
throw new IOException("invalid data tag: " + (tag == null ? "null" : tag.getClass().getName()));
|
||||
}
|
||||
} catch (FileNotFoundException ex) {
|
||||
return Chunk.empty(this, chunkPos);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user