mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-15 17:14:45 +00:00
Utility classes have been marked as such
This commit is contained in:
1 parent
31826c9415
commit
294a4c7504
5 files changed
+14
-6
No files matched your search
@@ -22,12 +22,14 @@ package com.falsepattern.lib.util;
|
||||
|
||||
import com.falsepattern.lib.StableAPI;
|
||||
|
||||
import lombok.experimental.UtilityClass;
|
||||
import net.minecraft.launchwrapper.Launch;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
@UtilityClass
|
||||
@StableAPI(since = "0.8.2")
|
||||
public class FileUtil {
|
||||
public final class FileUtil {
|
||||
@StableAPI.Expose
|
||||
public static File getMinecraftHome() {
|
||||
return Launch.minecraftHome == null ? new File(".") : Launch.minecraftHome;
|
||||
|
||||
Reference in new issue
Block a user