Fix vanilla models with parents not loading properly from forge blockstates.

This commit is contained in:
David Quintana 2019-10-16 23:11:23 +02:00
parent 6cbd418703
commit ec3e8c2039

View file

@ -258,6 +258,10 @@ public final class ModelLoader extends ModelBakery
builder.add(new ResourceLocation(s));
}
}
if (model.parent != null)
builder.addAll(model.parent.getTextures(modelGetter, missingTextureErrors));
return builder.build();
}