Recognise Dinky as a valid input

This commit is contained in:
Sollace 2018-10-23 09:58:55 +02:00
parent db5397e7cf
commit 0f0849d7da

View file

@ -35,7 +35,8 @@ public class RenderPonyVillager extends RenderPonyMob<EntityVillager> {
@Override @Override
public ResourceLocation getTexture(EntityVillager entity) { public ResourceLocation getTexture(EntityVillager entity) {
if ("Derpy".equals(entity.getCustomNameTag())) { String name = entity.getCustomNameTag();
if ("Derpy".equals(name) || (entity.isChild() && "Dinky".equals(name))) {
if (entity.isChild()) { if (entity.isChild()) {
return EGG_2; return EGG_2;
} }