Avoid CME during Indigo model bake on Fabric
This commit is contained in:
parent
489a30d185
commit
4d54c624e1
|
|
@ -300,7 +300,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
|
||||||
};
|
};
|
||||||
// bake indigo models
|
// bake indigo models
|
||||||
Stopwatch watch = Stopwatch.createStarted();
|
Stopwatch watch = Stopwatch.createStarted();
|
||||||
this.topLevelModels.forEach((key, value) -> {
|
new ArrayList<>(this.topLevelModels.keySet()).forEach(key -> {
|
||||||
try {
|
try {
|
||||||
this.bake(key, BlockModelRotation.X0_Y0);
|
this.bake(key, BlockModelRotation.X0_Y0);
|
||||||
} catch(RuntimeException e) {
|
} catch(RuntimeException e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user