mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Create parent directories if necessary
This commit is contained in:
parent
0a01219aae
commit
e683f9fa11
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ public class ChunkManager {
|
|||
File legacyBlocksFile = new File(zone.getDirectory(), "blocks");
|
||||
|
||||
if(!blocksFile.exists()) {
|
||||
blocksFile.getParentFile().mkdirs();
|
||||
blocksFile.createNewFile();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue