Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Register config during manager init
Dieser Commit ist enthalten in:
Ursprung
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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren