mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Fix Fabric config dir (#377)
This commit is contained in:
parent
edf9ccca8b
commit
7013ed8acf
@ -33,9 +33,9 @@ public class ViaFabricAddon implements ViaBackwardsPlatform, Runnable {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
Path configDirPath = FabricLoader.getInstance().getConfigDirectory().toPath().resolve("ViaBackwards");
|
||||
Path configDirPath = FabricLoader.getInstance().getConfigDir().resolve("ViaBackwards");
|
||||
configDir = configDirPath.toFile();
|
||||
this.init(configDirPath.resolve("config.yml").toFile());
|
||||
this.init(getDataFolder());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user