Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 17:10:13 +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() {
|
public void init() {
|
||||||
|
configurationProvider.register(platform.getConf());
|
||||||
|
|
||||||
if (System.getProperty("ViaVersion") != null) {
|
if (System.getProperty("ViaVersion") != null) {
|
||||||
// Reload?
|
// Reload?
|
||||||
platform.onReload();
|
platform.onReload();
|
||||||
|
@ -93,7 +93,6 @@ public abstract class AbstractViaConfig extends Config implements ViaVersionConf
|
|||||||
|
|
||||||
protected AbstractViaConfig(final File configFile) {
|
protected AbstractViaConfig(final File configFile) {
|
||||||
super(configFile);
|
super(configFile);
|
||||||
Via.getManager().getConfigurationProvider().register(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren