Fix early sorting bug that meant the file deduping was causing an error, to, well, not cause it, so we can get to an error screen.

Signed-off-by: cpw <[email protected]>
This commit is contained in:
cpw committed 2020-11-02 14:57:23 -05:00
1 parent f54998a6b7
commit 5a7facc20f
1 file changed
+5
@@ -74,6 +74,11 @@ public class ModSorter
} catch (EarlyLoadingException ele) {
earlyLoadingException = ele;
ms.sortedList = Collections.emptyList();
try {
ms.buildUniqueList();
} catch (EarlyLoadingException ele2) {
//IGNORE
}
}
return LoadingModList.of(ms.modFiles, ms.sortedList, earlyLoadingException);
}