Skip to content

Commit

Permalink
Moved ViaFabricPlus config folder into .minecraft/config path
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Nov 26, 2023
1 parent 3cd08a8 commit 4bcb2bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4bcb2bc

Please sign in to comment.