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
+1 -1
View File
@@ -1,7 +1,7 @@
name: MobArena name: MobArena
author: garbagemule author: garbagemule
main: com.garbagemule.MobArena.MobArena main: com.garbagemule.MobArena.MobArena
version: 0.95.5.14 version: 0.95.5.15
softdepend: [Spout,Towny,Heroes,MagicSpells,Vault] softdepend: [Spout,Towny,Heroes,MagicSpells,Vault]
commands: commands:
ma: ma:
@@ -85,7 +85,8 @@ public enum MACreature
WITHERSKELETON(EntityType.SKELETON), WITHERSKELETONS(EntityType.SKELETON), WITHERSKELETON(EntityType.SKELETON), WITHERSKELETONS(EntityType.SKELETON),
BABYZOMBIE(EntityType.ZOMBIE), BABYZOMBIES(EntityType.ZOMBIE), BABYZOMBIE(EntityType.ZOMBIE), BABYZOMBIES(EntityType.ZOMBIE),
BABYPIGMAN(EntityType.PIG_ZOMBIE), BABYPIGMEN(EntityType.PIG_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 List<DyeColor> colors = Arrays.asList(DyeColor.values());
private EntityType type; private EntityType type;
@@ -161,6 +162,9 @@ public enum MACreature
case ZOMBIEVILLAGERS: case ZOMBIEVILLAGERS:
((Zombie) e).setVillager(true); ((Zombie) e).setVillager(true);
break; break;
case BABYZOMBIEVILLAGER:
case BABYZOMBIEVILLAGERS:
((Zombie) e).setVillager(true);
case BABYZOMBIE: case BABYZOMBIE:
case BABYZOMBIES: case BABYZOMBIES:
case BABYPIGMAN: case BABYPIGMAN: