mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-16 22:15:11 +00:00
hotfix some path logic
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package com.falsepattern.lib.mixin;
|
||||
|
||||
import com.falsepattern.lib.internal.CoreLoadingPlugin;
|
||||
import lombok.val;
|
||||
import net.minecraft.launchwrapper.Launch;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
@@ -21,7 +22,7 @@ import java.util.stream.Collectors;
|
||||
import static java.nio.file.Files.walk;
|
||||
|
||||
public interface IMixinPlugin extends IMixinConfigPlugin {
|
||||
Path MODS_DIRECTORY_PATH = new File(Launch.minecraftHome, "mods/").toPath();
|
||||
Path MODS_DIRECTORY_PATH = CoreLoadingPlugin.mcDir.toPath().resolve("mods");
|
||||
|
||||
Logger getLogger();
|
||||
ITargetedMod[] getTargetedModEnumValues();
|
||||
|
||||
Reference in new issue
Block a user