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 @@ public class MCAWorld implements World {
|
|||
} 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