Ignore some random server file causing the installer to rerun
This commit is contained in:
parent
e6410e8c48
commit
f959533f0b
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
org.gradle.daemon = false
|
org.gradle.daemon = false
|
||||||
|
|
||||||
fw_version = mmc2
|
fw_version = mmc3
|
||||||
|
|
|
@ -181,6 +181,10 @@ public interface IFileDetector {
|
||||||
for (Map.Entry<String, Path> entry : libsMap.entrySet()) {
|
for (Map.Entry<String, Path> entry : libsMap.entrySet()) {
|
||||||
String sha1 = "";
|
String sha1 = "";
|
||||||
String entryKey = entry.getKey();
|
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
|
* 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
|
* 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;
|
return checked;
|
||||||
}
|
}
|
||||||
// Skip installing process if installer profile doesn't exist.
|
// Skip installing process if installer profile doesn't exist.
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue