Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-24 23:30:17 +01:00
Fix Velocity/Sponge config location
Dieser Commit ist enthalten in:
Ursprung
eda8abf55c
Commit
31787b5e5b
@ -48,7 +48,7 @@ public class SpongePlugin implements ViaBackwardsPlatform {
|
|||||||
@Listener
|
@Listener
|
||||||
public void constructPlugin(ConstructPluginEvent event) {
|
public void constructPlugin(ConstructPluginEvent event) {
|
||||||
// Init!
|
// Init!
|
||||||
Via.getManager().addEnableListener(() -> this.init(configPath.resolve("config.yml").toFile()));
|
Via.getManager().addEnableListener(() -> this.init(getDataFolder()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -53,7 +53,7 @@ public class VelocityPlugin implements ViaBackwardsPlatform {
|
|||||||
public void onProxyStart(ProxyInitializeEvent e) {
|
public void onProxyStart(ProxyInitializeEvent e) {
|
||||||
// Setup Logger
|
// Setup Logger
|
||||||
this.logger = new LoggerWrapper(loggerSlf4j);
|
this.logger = new LoggerWrapper(loggerSlf4j);
|
||||||
Via.getManager().addEnableListener(() -> this.init(configPath.resolve("config.yml").toFile()));
|
Via.getManager().addEnableListener(() -> this.init(getDataFolder()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren