Add baby zombie villagers

This commit is contained in:
garbagemule 2013-08-10 16:38:44 +02:00
parent 76330f06d3
commit c282fe7000
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
name: MobArena
author: garbagemule
main: com.garbagemule.MobArena.MobArena
version: 0.95.5.14
version: 0.95.5.15
softdepend: [Spout,Towny,Heroes,MagicSpells,Vault]
commands:
ma:

View File

@ -85,7 +85,8 @@ public enum MACreature
WITHERSKELETON(EntityType.SKELETON), WITHERSKELETONS(EntityType.SKELETON),
BABYZOMBIE(EntityType.ZOMBIE), BABYZOMBIES(EntityType.ZOMBIE),
BABYPIGMAN(EntityType.PIG_ZOMBIE), BABYPIGMEN(EntityType.PIG_ZOMBIE),
ZOMBIEVILLAGER(EntityType.ZOMBIE), ZOMBIEVILLAGERS(EntityType.ZOMBIE);
ZOMBIEVILLAGER(EntityType.ZOMBIE), ZOMBIEVILLAGERS(EntityType.ZOMBIE),
BABYZOMBIEVILLAGER(EntityType.ZOMBIE),BABYZOMBIEVILLAGERS(EntityType.ZOMBIE);
private List<DyeColor> colors = Arrays.asList(DyeColor.values());
private EntityType type;
@ -161,6 +162,9 @@ public enum MACreature
case ZOMBIEVILLAGERS:
((Zombie) e).setVillager(true);
break;
case BABYZOMBIEVILLAGER:
case BABYZOMBIEVILLAGERS:
((Zombie) e).setVillager(true);
case BABYZOMBIE:
case BABYZOMBIES:
case BABYPIGMAN: