Ignore RuntimeException when gathering blockstate paths

This commit is contained in:
embeddedt 2023-07-08 14:51:07 -04:00
parent 352f8bb6d1
commit bb0c4fdf54
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -66,7 +66,7 @@ public class ModelBakeryHelpers {
ResourceLocation fileLocation = new ResourceLocation(blockstate.getNamespace(), filePrefix + blockstate.getPath() + ".json");
try (Resource resource = frm.getResource(fileLocation)) {
knownLocations.add(blockstate);
} catch (IOException ignored) {
} catch (IOException | RuntimeException ignored) {
}
}
}