fix
This commit is contained in:
parent
92d3e9a2d8
commit
d168a7afec
@ -49,23 +49,20 @@ public class Load {
|
|||||||
|
|
||||||
if (!new File(Main.getPath(), "config.yml").exists()) {
|
if (!new File(Main.getPath(), "config.yml").exists()) {
|
||||||
try {
|
try {
|
||||||
plugin.saveResource("config.yml", false);
|
plugin.saveResource("configDeclaration.yml", false);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
plugin.saveResource("GUIs/guiDeclaration.yml", false);
|
plugin.saveResource("GUIs/guiDeclaration.yml", false);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
plugin.saveResource("Functions/functionDeclaration.yml", false);
|
plugin.saveResource("Functions/functionDeclaration.yml", false);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
CreateGUI.configCreate();
|
CreateGUI.configCreate();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user