Skip to content

Commit 5ed2fae

Browse files
committed
Merge 1.19.4 into 1.20
2 parents 174e609 + 0767b6e commit 5ed2fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fabric/src/main/java/org/embeddedt/modernfix/fabric/mixin/perf/dynamic_resources/ModelBakerImplMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private void obtainModel(ResourceLocation arg, CallbackInfoReturnable<UnbakedMod
102102
if(!wasMissingModel) {
103103
for(ModernFixClientIntegration integration : ModernFixClient.CLIENT_INTEGRATIONS) {
104104
try {
105-
toReplace = integration.onUnbakedModelPreBake(arg, toReplace, (ModelBakery)(Object)this);
105+
toReplace = integration.onUnbakedModelPreBake(arg, toReplace, this.field_40571);
106106
} catch(RuntimeException e) {
107107
ModernFix.LOGGER.error("Exception firing model pre-bake event for {}", arg, e);
108108
}

0 commit comments

Comments
 (0)