diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java index adc935a..f27056a 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java @@ -49,7 +49,10 @@ public final class PackParser { private PackParser() {} */ public static void forEachPack(ResourceManager resourceManager, Consumer<ResourcePack> run) { resourceManager.streamResourcePacks().forEachOrdered(pack -> { - List<ResourcePack> grouped = PARSE_FAPI_GROUPS.apply(pack); + List<ResourcePack> grouped = null; + try { + grouped = PARSE_FAPI_GROUPS.apply(pack); + } catch (Exception ignored) { } if (grouped != null) for (ResourcePack subPack : grouped) run.accept(subPack); |