Skip to content

Commit bb0c4fd

Browse files
committed
Ignore RuntimeException when gathering blockstate paths
1 parent 352f8bb commit bb0c4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/dynamicresources/ModelBakeryHelpers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static void gatherAdditionalViaManualScan(List<PackResources> untrustedP
6666
ResourceLocation fileLocation = new ResourceLocation(blockstate.getNamespace(), filePrefix + blockstate.getPath() + ".json");
6767
try (Resource resource = frm.getResource(fileLocation)) {
6868
knownLocations.add(blockstate);
69-
} catch (IOException ignored) {
69+
} catch (IOException | RuntimeException ignored) {
7070
}
7171
}
7272
}

0 commit comments

Comments
 (0)