mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
Fix version range check for required mods #4918
This commit is contained in:
1 parent
b6f8be6718
commit
33f4acb6b9
1 file changed
+5
-1
@@ -271,7 +271,11 @@ public class Loader
|
||||
continue;
|
||||
}
|
||||
reqList.putAll(mod.getModId(), names.keySet());
|
||||
ImmutableList<ArtifactVersion> allDeps = ImmutableList.<ArtifactVersion>builder().addAll(mod.getDependants()).addAll(mod.getDependencies()).build();
|
||||
ImmutableList<ArtifactVersion> allDeps = ImmutableList.<ArtifactVersion>builder()
|
||||
.addAll(mod.getDependants())
|
||||
.addAll(mod.getDependencies())
|
||||
.addAll(mod.getRequirements())
|
||||
.build();
|
||||
MissingModsException missingModsException = new MissingModsException(mod.getModId(), mod.getName());
|
||||
for (ArtifactVersion acceptedVersion : allDeps)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user