Skip to content

Commit

Permalink
Fix Neoforge not being loaded in case of errors due to missing Jar Ma…
Browse files Browse the repository at this point in the history
…nifest (#138)
  • Loading branch information
shartte authored May 16, 2024
1 parent 70569ba commit 51214c1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ private void buildUniqueList() {
private void detectSystemMods(final Map<String, List<ModFile>> modFilesByFirstId) {
// Capture system mods (ex. MC, Forge) here, so we can keep them for later
final Set<String> systemMods = new HashSet<>();
// The minecraft mod is always a system mod
// The minecraft and neoforge mods are always system mods
systemMods.add("minecraft");
systemMods.add("neoforge");
// Find system mod files and scan them for system mods
modFiles.stream()
.map(ModFile::getSecureJar)
Expand Down

0 comments on commit 51214c1

Please sign in to comment.