diff --git a/gradle.properties b/gradle.properties index a0365c8..677a8cd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.daemon = false -fw_version = mmc2 +fw_version = mmc3 diff --git a/src/main/java/io/github/zekerzhayard/forgewrapper/installer/detector/IFileDetector.java b/src/main/java/io/github/zekerzhayard/forgewrapper/installer/detector/IFileDetector.java index 67bcbcb..cfb926e 100644 --- a/src/main/java/io/github/zekerzhayard/forgewrapper/installer/detector/IFileDetector.java +++ b/src/main/java/io/github/zekerzhayard/forgewrapper/installer/detector/IFileDetector.java @@ -181,6 +181,10 @@ public interface IFileDetector { for (Map.Entry entry : libsMap.entrySet()) { String sha1 = ""; String entryKey = entry.getKey(); + // NOTE: only used on servers, it's busted + if(entryKey.equals("MC_UNPACKED")) { + continue; + } /** * NOTE: workaround for https://github.com/MultiMC/Launcher/issues/4400 * We ignore the hash of the client file and instead just rely on it being 'correct, maybe' if it's present at all @@ -196,7 +200,7 @@ public interface IFileDetector { } } return checked; - } + } // Skip installing process if installer profile doesn't exist. return true; }