Fix incorrect field being used for pre-bake event
This commit is contained in:
parent
42298947cc
commit
0767b6e9cf
|
|
@ -102,7 +102,7 @@ public abstract class ModelBakerImplMixin {
|
|||
if(!wasMissingModel) {
|
||||
for(ModernFixClientIntegration integration : ModernFixClient.CLIENT_INTEGRATIONS) {
|
||||
try {
|
||||
toReplace = integration.onUnbakedModelPreBake(arg, toReplace, (ModelBakery)(Object)this);
|
||||
toReplace = integration.onUnbakedModelPreBake(arg, toReplace, this.field_40571);
|
||||
} catch(RuntimeException e) {
|
||||
ModernFix.LOGGER.error("Exception firing model pre-bake event for {}", arg, e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user