mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-23 08:57:39 +01:00
Register config during manager init
This commit is contained in:
parent
3e0eb90662
commit
bebdc34b4b
@ -80,6 +80,8 @@ public class ViaManagerImpl implements ViaManager {
|
||||
}
|
||||
|
||||
public void init() {
|
||||
configurationProvider.register(platform.getConf());
|
||||
|
||||
if (System.getProperty("ViaVersion") != null) {
|
||||
// Reload?
|
||||
platform.onReload();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user