added config updater
This commit is contained in:
parent
532e6c01f3
commit
95c591f55c
@ -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();
|
||||
}
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user