Moved ViaFabricPlus config folder into .minecraft/config path

This commit is contained in:
FlorianMichael 2023-11-26 13:18:35 +01:00
parent 3cd08a8ae0
commit 4bcb2bcc17
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -20,12 +20,12 @@
package de.florianmichael.viafabricplus;
import de.florianmichael.viafabricplus.event.PostGameLoadCallback;
import de.florianmichael.viafabricplus.event.LoadCallback;
import de.florianmichael.viafabricplus.fixes.ClientsideFixes;
import de.florianmichael.viafabricplus.protocolhack.ProtocolHack;
import de.florianmichael.viafabricplus.util.ClassLoaderPriorityUtil;
import de.florianmichael.viafabricplus.save.SaveManager;
import de.florianmichael.viafabricplus.settings.SettingsManager;
import net.fabricmc.loader.api.FabricLoader;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
@ -58,7 +58,7 @@ public class ViaFabricPlus {
private static final ViaFabricPlus instance = new ViaFabricPlus();
private final Logger logger = LogManager.getLogger("ViaFabricPlus");
private final File directory = new File("ViaFabricPlus");
private final File directory = FabricLoader.getInstance().getConfigDir().resolve("viafabricplus").toFile();
private SettingsManager settingsManager;
private SaveManager saveManager;