Fix unable to launch 1.13 with Rift
This commit is contained in:
@@ -151,8 +151,9 @@ public class Version implements Comparable<Version>, Validation {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected Version resolve(VersionProvider provider, Set<String> resolvedSoFar) throws VersionNotFoundException {
|
protected Version resolve(VersionProvider provider, Set<String> resolvedSoFar) throws VersionNotFoundException {
|
||||||
if (inheritsFrom == null)
|
if (inheritsFrom == null) {
|
||||||
return this;
|
return this.jar == null ? this.setJar(id) : this;
|
||||||
|
}
|
||||||
|
|
||||||
// To maximize the compatibility.
|
// To maximize the compatibility.
|
||||||
if (!resolvedSoFar.add(id)) {
|
if (!resolvedSoFar.add(id)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user