Modrinth as default Update location (can be configured to revert to curseforge as default)
This commit is contained in:
parent
f63f0ef5fc
commit
4d626b23b2
7 changed files with 81 additions and 14 deletions
|
@ -131,10 +131,10 @@ public class VersionChecker implements Runnable {
|
|||
}
|
||||
if (mod.n != null && mod.v != null && KNOWN_MODS.contains(mod.n)) {
|
||||
String installedVersion = ModUtil.getModVersion(mod.n);
|
||||
boolean isNew = ModUtil.isLargerVersion(mod.v, installedVersion) && !installedVersion.equals(
|
||||
"0.0.0");
|
||||
boolean isNew = ModUtil.isLargerVersion(mod.v, installedVersion)
|
||||
&& !installedVersion.equals("0.0.0");
|
||||
BCLib.LOGGER.info(" - " + mod.n + ":" + mod.v + (isNew ? " (update available)" : ""));
|
||||
if (isNew)
|
||||
if (true || isNew)
|
||||
NEW_VERSIONS.add(mod);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue