Ignore RuntimeException when gathering blockstate paths
This commit is contained in:
parent
352f8bb6d1
commit
bb0c4fdf54
|
|
@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user