Ignore some random server file causing the installer to rerun

This commit is contained in:
Petr Mrázek 2022-01-04 22:19:35 +01:00
parent e6410e8c48
commit f959533f0b
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
org.gradle.daemon = false
fw_version = mmc2
fw_version = mmc3

View file

@ -181,6 +181,10 @@ public interface IFileDetector {
for (Map.Entry<String, Path> 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