Skip to content

Commit 3f00340

Browse files
committed
Always show loading errors
Fixes the annoying "requires connector" error again, this time for mods that require fabric mods
1 parent f204119 commit 3f00340

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/main/java/org/sinytra/connector/service/ConnectorLoaderService.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,8 @@ public List<Resource> completeScan(IModuleLayerManager layerManager) {
107107
// Ignore default Fabric mod locator warnings
108108
LoadingModList.get().getModLoadingIssues().removeIf(issue -> issue.translationKey().equals("fml.modloadingissue.brokenfile.fabric"));
109109

110-
if (!LoadingModList.get().hasErrors()) {
111-
LoadingModList.get().getModLoadingIssues().addAll(ConnectorEarlyLoader.getLoadingExceptions());
112-
} else {
113-
LOGGER.warn("Broken FML mod files found, not adding Connector locator errors");
114-
}
110+
// Add our loading errors
111+
LoadingModList.get().getModLoadingIssues().addAll(ConnectorEarlyLoader.getLoadingExceptions());
115112

116113
layerManager.getLayer(IModuleLayerManager.Layer.PLUGIN)
117114
.map(ModuleLayer::modules)

0 commit comments

Comments
 (0)