Filter duplicate mod files from mod file scan data (#6855)
This commit is contained in:
parent
638d1d31de
commit
96b9a057b7
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ public class ModList
|
||||||
map(ModInfo::getOwningFile).
|
map(ModInfo::getOwningFile).
|
||||||
filter(Objects::nonNull).
|
filter(Objects::nonNull).
|
||||||
map(ModFileInfo::getFile).
|
map(ModFileInfo::getFile).
|
||||||
|
distinct().
|
||||||
map(ModFile::getScanResult).
|
map(ModFile::getScanResult).
|
||||||
collect(Collectors.toList());
|
collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue