Fixed spigot config not generating
This commit is contained in:
parent
fcf45eb5be
commit
4838eee050
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.fpghoti</groupId>
|
<groupId>com.fpghoti</groupId>
|
||||||
<artifactId>Biscuit</artifactId>
|
<artifactId>Biscuit</artifactId>
|
||||||
<version>1.6.2</version>
|
<version>1.6.3</version>
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
<sourceDirectory>src/main/java</sourceDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.fpghoti</groupId>
|
<groupId>com.fpghoti</groupId>
|
||||||
<artifactId>Biscuit</artifactId>
|
<artifactId>Biscuit</artifactId>
|
||||||
<version>1.6.2</version>
|
<version>1.6.3</version>
|
||||||
<build>
|
<build>
|
||||||
<sourceDirectory>src/main/java</sourceDirectory>
|
<sourceDirectory>src/main/java</sourceDirectory>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
|
@ -106,6 +106,7 @@ public class Biscuit {
|
||||||
captchaDir.mkdir();
|
captchaDir.mkdir();
|
||||||
}else {
|
}else {
|
||||||
captchaDir = new File(PluginCore.plugin.getDataFolder(), "captcha");
|
captchaDir = new File(PluginCore.plugin.getDataFolder(), "captcha");
|
||||||
|
captchaDir.mkdir();
|
||||||
}
|
}
|
||||||
cage = new BCage();
|
cage = new BCage();
|
||||||
if(isMain) {
|
if(isMain) {
|
||||||
|
@ -298,6 +299,7 @@ public class Biscuit {
|
||||||
boolean isMain = guild == null;
|
boolean isMain = guild == null;
|
||||||
if(isMain) {
|
if(isMain) {
|
||||||
if(Main.isPlugin) {
|
if(Main.isPlugin) {
|
||||||
|
PluginCore.plugin.getDataFolder().mkdir();
|
||||||
return PluginCore.plugin.getDataFolder();
|
return PluginCore.plugin.getDataFolder();
|
||||||
}else {
|
}else {
|
||||||
return new File("").getAbsoluteFile();
|
return new File("").getAbsoluteFile();
|
||||||
|
|
Loading…
Reference in New Issue