This commit is contained in:
JaTiTV 2022-06-08 05:56:05 +02:00
parent 92d3e9a2d8
commit d168a7afec

View File

@ -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) {