Fix Fabric config dir (#377)

This commit is contained in:
creeper123123321 2021-06-24 07:08:40 -03:00 committed by GitHub
parent edf9ccca8b
commit 7013ed8acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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