mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Recognise Dinky as a valid input
This commit is contained in:
parent
db5397e7cf
commit
0f0849d7da
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue