Skip to content

Commit 09490df

Browse files
committed
Fix compile errors
1 parent a677f6d commit 09490df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/src/main/java/org/embeddedt/modernfix/dynamicresources/DynamicBakedModelProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ public DynamicBakedModelProvider(ModelBakery bakery, Map<ModelBakery.BakedCacheK
9696

9797
public void setMissingModel(BakedModel model) {
9898
this.missingModel = model;
99-
this.permanentOverrides.put(ModelBakery.MISSING_MODEL_LOCATION, this.missingModel);
99+
this.put(ModelBakery.MISSING_MODEL_LOCATION, this.missingModel);
100100
}
101101

102-
private static Triple<ResourceLocation, Transformation, Boolean> vanillaKey(Object o) {
103-
return Triple.of((ResourceLocation)o, BlockModelRotation.X0_Y0.getRotation(), false);
102+
private static ModelBakery.BakedCacheKey vanillaKey(Object o) {
103+
return new ModelBakery.BakedCacheKey((ResourceLocation)o, BlockModelRotation.X0_Y0.getRotation(), false);
104104
}
105105
@Override
106106
public int size() {

0 commit comments

Comments
 (0)