Fix missing model flag not being cleared at times
This commit is contained in:
parent
ec10f36839
commit
a1f50a0c4f
|
|
@ -88,7 +88,8 @@ public abstract class ModelBakerImplMixin {
|
||||||
if(arg != ModelBakery.MISSING_MODEL_LOCATION && debugDynamicModelLoading)
|
if(arg != ModelBakery.MISSING_MODEL_LOCATION && debugDynamicModelLoading)
|
||||||
ModernFix.LOGGER.warn("Model {} not present", arg);
|
ModernFix.LOGGER.warn("Model {} not present", arg);
|
||||||
wasMissingModel = true;
|
wasMissingModel = true;
|
||||||
}
|
} else
|
||||||
|
wasMissingModel = false; /* sometimes this runs more than once e.g. for recursive model baking */
|
||||||
cir.getReturnValue().resolveParents(this.field_40571::getModel);
|
cir.getReturnValue().resolveParents(this.field_40571::getModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user