From 53eaa3c40e1b57498ef95d8f4478451ea05d8b56 Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Fri, 8 Apr 2016 21:40:08 -0400 Subject: [PATCH] Fix pig zombies not being earth ponies. --- .../com/brohoof/minelittlepony/renderer/RenderPonyZombie.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/brohoof/minelittlepony/renderer/RenderPonyZombie.java b/src/main/java/com/brohoof/minelittlepony/renderer/RenderPonyZombie.java index db398935..1fa96c3c 100644 --- a/src/main/java/com/brohoof/minelittlepony/renderer/RenderPonyZombie.java +++ b/src/main/java/com/brohoof/minelittlepony/renderer/RenderPonyZombie.java @@ -28,7 +28,7 @@ public class RenderPonyZombie extends RenderPonyMob this.playerModel.getModel().metadata.setGender(rand.nextBoolean() ? PonyGender.MARE : PonyGender.STALLION); // races - switch (rand.nextInt(4)) { + switch (entity instanceof EntityPigZombie ? 0 : rand.nextInt(4)) { case 0: case 1: this.playerModel.getModel().metadata.setRace(PonyRace.EARTH);