diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml index 0dd3219..ce1b8ed 100644 --- a/dependency-reduced-pom.xml +++ b/dependency-reduced-pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.fpghoti Biscuit - 1.6.2 + 1.6.3 src/main/java diff --git a/pom.xml b/pom.xml index cd95073..985e37a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.fpghoti Biscuit - 1.6.2 + 1.6.3 src/main/java diff --git a/src/main/java/com/fpghoti/biscuit/biscuit/Biscuit.java b/src/main/java/com/fpghoti/biscuit/biscuit/Biscuit.java index c21276d..63b0f44 100644 --- a/src/main/java/com/fpghoti/biscuit/biscuit/Biscuit.java +++ b/src/main/java/com/fpghoti/biscuit/biscuit/Biscuit.java @@ -106,6 +106,7 @@ public class Biscuit { captchaDir.mkdir(); }else { captchaDir = new File(PluginCore.plugin.getDataFolder(), "captcha"); + captchaDir.mkdir(); } cage = new BCage(); if(isMain) { @@ -298,6 +299,7 @@ public class Biscuit { boolean isMain = guild == null; if(isMain) { if(Main.isPlugin) { + PluginCore.plugin.getDataFolder().mkdir(); return PluginCore.plugin.getDataFolder(); }else { return new File("").getAbsoluteFile();