mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Just make the damn directory
This commit is contained in:
parent
ce1ca35ee5
commit
c205a9a1b9
@ -44,10 +44,7 @@ public final class ExpansionManager {
|
||||
plugin = instance;
|
||||
File f = new File(PlaceholderAPIPlugin.getInstance().getDataFolder(), "expansions");
|
||||
if (!f.exists()) {
|
||||
if (!f.mkdir()) {
|
||||
PlaceholderAPIPlugin.getInstance().getLogger()
|
||||
.severe("Failed to create expansions folder!");
|
||||
}
|
||||
f.mkdirs();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user