1
mirror of https://github.com/CarmJos/MineConfiguration.git synced 2024-09-19 20:05:49 +00:00

fix(impl): configuration reload problem

This commit is contained in:
Carm Jos 2022-05-20 18:26:48 +08:00
parent c50df3bc56
commit 34a51c42a5
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public class BungeeConfigProvider extends FileConfigProvider<BungeeSectionWrappe
}
@Override
public void reload() throws Exception {
protected void onReload() throws Exception {
this.configuration = getLoader().load(file);
}

View File

@ -26,7 +26,7 @@ public abstract class CraftConfigProvider extends FileConfigProvider<CraftSectio
}
@Override
public void reload() throws Exception {
protected void onReload() throws Exception {
configuration.load(getFile());
}

View File

@ -18,7 +18,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<easyconfiguration.version>3.0.0</easyconfiguration.version>
<easyconfiguration.version>3.1.0</easyconfiguration.version>
</properties>
<groupId>cc.carm.lib</groupId>
<artifactId>mineconfiguration-parent</artifactId>