From c205a9a1b97f9c5243ede46651b2bcc1d72d51cc Mon Sep 17 00:00:00 2001 From: extendedclip Date: Mon, 27 Aug 2018 00:05:51 -0400 Subject: [PATCH] Just make the damn directory --- .../me/clip/placeholderapi/expansion/ExpansionManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java b/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java index 95cf8c8..2bfeaca 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java +++ b/src/main/java/me/clip/placeholderapi/expansion/ExpansionManager.java @@ -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(); } }