From 4838eee050b257b5bfac5d4a27bdf969c0a094ad Mon Sep 17 00:00:00 2001 From: thmsdy Date: Fri, 17 Jul 2020 18:23:05 -0500 Subject: [PATCH] Fixed spigot config not generating --- dependency-reduced-pom.xml | 2 +- pom.xml | 2 +- src/main/java/com/fpghoti/biscuit/biscuit/Biscuit.java | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) 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();