Skip to content

Commit

Permalink
Avoid CME during Indigo model bake on Fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Jun 6, 2023
1 parent 489a30d commit 4d54c62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public UnbakedModel put(ResourceLocation key, UnbakedModel value) {
};
// 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) {
Expand Down

0 comments on commit 4d54c62

Please sign in to comment.