mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 21:57:35 +00:00
14 lines
329 B
Java
14 lines
329 B
Java
package com.falsepattern.lib.util;
|
|
|
|
import com.falsepattern.lib.StableAPI;
|
|
import net.minecraft.launchwrapper.Launch;
|
|
|
|
import java.io.File;
|
|
|
|
@StableAPI(since = "0.8.2")
|
|
public class FileUtil {
|
|
public static File getMinecraftHome() {
|
|
return Launch.minecraftHome == null ? new File(".") : Launch.minecraftHome;
|
|
}
|
|
}
|