added config updater

This commit is contained in:
Logan Magnan 2024-09-26 17:03:21 -04:00
parent 532e6c01f3
commit 95c591f55c
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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();
}