Skip to content

Commit 2697a8f

Browse files
committed
Fix lambda shadow remapping issue
1 parent f056fe4 commit 2697a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/embeddedt/modernfix/common/mixin/perf/dynamic_resources/ModelBakeryMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
6161
/**
6262
* Bake a model using the provided texture getter and location. The model is stored in {@link ModelBakeryMixin#bakedTopLevelModels}.
6363
*/
64-
@Shadow protected abstract void method_61072(ModelBakery.TextureGetter getter, ModelResourceLocation location, UnbakedModel model);
64+
@Shadow(aliases = "lambda$bakeModels$6") protected abstract void method_61072(ModelBakery.TextureGetter getter, ModelResourceLocation location, UnbakedModel model);
6565

6666
@Shadow @Mutable @Final private Map<ModelResourceLocation, BakedModel> bakedTopLevelModels;
6767
@Shadow @Mutable @Final public Map<ModelResourceLocation, UnbakedModel> topLevelModels;

0 commit comments

Comments
 (0)