diff --git a/src/main/java/com/minelittlepony/client/render/entity/npc/textures/SillyPonyTextureSupplier.java b/src/main/java/com/minelittlepony/client/render/entity/npc/textures/SillyPonyTextureSupplier.java index 5bd82546..276a0379 100644 --- a/src/main/java/com/minelittlepony/client/render/entity/npc/textures/SillyPonyTextureSupplier.java +++ b/src/main/java/com/minelittlepony/client/render/entity/npc/textures/SillyPonyTextureSupplier.java @@ -8,7 +8,9 @@ public class SillyPonyTextureSupplier { public static TextureSupplier create(TextureSupplier fallback, TextureSupplier formatter) { Identifier egg = formatter.apply("silly_pony"); Identifier egg2 = formatter.apply("tiny_silly_pony"); - return entity -> isBestPony(entity) ? (entity.isBaby() ? egg2 : egg) : fallback.apply(entity); + return entity -> { + return isBestPony(entity) ? ("Dinky".equals(entity.getCustomName().getString()) ? egg2 : egg) : fallback.apply(entity); + }; } public static boolean isBestPony(LivingEntity entity) { @@ -16,7 +18,7 @@ public class SillyPonyTextureSupplier { return false; } String name = entity.getCustomName().getString(); - return "Derpy".equals(name) || (entity.isBaby() && "Dinky".equals(name)); + return "Derpy".equals(name) || "Dinky".equals(name); } public static boolean isCrownPony(LivingEntity entity) {