From e7694f0ff638a1fcb4b66ac64cee20a02058e815 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sat, 26 Oct 2024 16:36:37 +0100 Subject: [PATCH] Fix crash when trying to scan an empty list of mods. --- .../net/fabricmc/loader/impl/discovery/ModDiscoverer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/fabricmc/loader/impl/discovery/ModDiscoverer.java b/src/main/java/net/fabricmc/loader/impl/discovery/ModDiscoverer.java index 261294ce2..1dd742c6a 100644 --- a/src/main/java/net/fabricmc/loader/impl/discovery/ModDiscoverer.java +++ b/src/main/java/net/fabricmc/loader/impl/discovery/ModDiscoverer.java @@ -102,7 +102,9 @@ public List discoverMods(FabricLoaderImpl loader, Map