mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Create parent directory for bo3
This commit is contained in:
parent
1b9c92fd4a
commit
1ece792e2b
@ -251,6 +251,7 @@ public class BO3Handler {
|
|||||||
try {
|
try {
|
||||||
File bo3File = bo3.getFile();
|
File bo3File = bo3.getFile();
|
||||||
bo3File.createNewFile();
|
bo3File.createNewFile();
|
||||||
|
bo3File.getParentFile().mkdirs();
|
||||||
try (FileOutputStream fos = new FileOutputStream(bo3File)) {
|
try (FileOutputStream fos = new FileOutputStream(bo3File)) {
|
||||||
write(fos, plot, bo3);
|
write(fos, plot, bo3);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user