mirror of
https://github.com/songoda/EpicEnchants.git
synced 2025-03-14 07:39:20 +01:00
Make directories.
This commit is contained in:
parent
b4dffc8106
commit
87f3cb5d96
@ -94,6 +94,7 @@ public class FileManager extends Manager<String, FileConfiguration> {
|
||||
|
||||
if (!file.exists() && (fileLocation.isRequired() || Settings.FIRST_LOAD.getBoolean())) {
|
||||
Bukkit.getConsoleSender().sendMessage("Creating file: " + fileLocation.getPath());
|
||||
file.getParentFile().mkdirs();
|
||||
|
||||
try {
|
||||
// System.out.println(fileLocation.getResourcePath(directory) + " : " + file.toPath());
|
||||
|
Loading…
Reference in New Issue
Block a user