diff --git a/src/main/java/com/loganmagnan/pluginbase/utils/config/file/Config.java b/src/main/java/com/loganmagnan/pluginbase/utils/config/file/Config.java index ed7064f..586c991 100644 --- a/src/main/java/com/loganmagnan/pluginbase/utils/config/file/Config.java +++ b/src/main/java/com/loganmagnan/pluginbase/utils/config/file/Config.java @@ -30,7 +30,7 @@ public class Config { } try { - ConfigUpdater.update(PluginBase.getInstance(), name, this.configFile); + ConfigUpdater.update(PluginBase.getInstance(), name + ".yml", this.configFile); } catch (Exception exception) { exception.printStackTrace(); } diff --git a/src/main/java/com/loganmagnan/pluginbase/utils/config/file/ConfigFile.java b/src/main/java/com/loganmagnan/pluginbase/utils/config/file/ConfigFile.java index b695d73..5adbf74 100644 --- a/src/main/java/com/loganmagnan/pluginbase/utils/config/file/ConfigFile.java +++ b/src/main/java/com/loganmagnan/pluginbase/utils/config/file/ConfigFile.java @@ -27,7 +27,7 @@ public class ConfigFile { plugin.saveResource(name + ".yml", false); try { - ConfigUpdater.update(PluginBase.getInstance(), name, this.file); + ConfigUpdater.update(PluginBase.getInstance(), name + ".yml", this.file); } catch (Exception exception) { exception.printStackTrace(); }