mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 06:18:00 +01:00
Fix pig zombies not being earth ponies.
This commit is contained in:
parent
08728bc5c7
commit
53eaa3c40e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public class RenderPonyZombie<Zombie extends EntityZombie> extends RenderPonyMob
|
||||||
this.playerModel.getModel().metadata.setGender(rand.nextBoolean() ? PonyGender.MARE : PonyGender.STALLION);
|
this.playerModel.getModel().metadata.setGender(rand.nextBoolean() ? PonyGender.MARE : PonyGender.STALLION);
|
||||||
|
|
||||||
// races
|
// races
|
||||||
switch (rand.nextInt(4)) {
|
switch (entity instanceof EntityPigZombie ? 0 : rand.nextInt(4)) {
|
||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
this.playerModel.getModel().metadata.setRace(PonyRace.EARTH);
|
this.playerModel.getModel().metadata.setRace(PonyRace.EARTH);
|
||||||
|
|
Loading…
Reference in a new issue