Register config during manager init

This commit is contained in:
Nassim Jahnke 2023-10-08 19:01:00 +10:00
parent 3e0eb90662
commit bebdc34b4b
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,8 @@ public class ViaManagerImpl implements ViaManager {
}
public void init() {
configurationProvider.register(platform.getConf());
if (System.getProperty("ViaVersion") != null) {
// Reload?
platform.onReload();

View File

@ -93,7 +93,6 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
protected AbstractViaConfig(final File configFile) {
super(configFile);
Via.getManager().getConfigurationProvider().register(this);
}
@Override