Avoid CME during Indigo model bake on Fabric

This commit is contained in:
embeddedt 2023-06-05 21:55:16 -04:00
parent 489a30d185
commit 4d54c624e1
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -300,7 +300,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
};
// bake indigo models
Stopwatch watch = Stopwatch.createStarted();
this.topLevelModels.forEach((key, value) -> {
new ArrayList<>(this.topLevelModels.keySet()).forEach(key -> {
try {
this.bake(key, BlockModelRotation.X0_Y0);
} catch(RuntimeException e) {