if(chance < armourSpawnRate && event.entityLiving instanceof EntityZombie || event.entityLiving instanceof EntitySkeleton)
{
if(event.world.rand.nextBoolean() && ArmourType.armours.size() > 0)
{
//Give a completely random piece of armour
ArmourType armour = ArmourType.armours.get(event.world.rand.nextInt(ArmourType.armours.size()));
if(armour != null && armour.type != 2)
event.entityLiving.setCurrentItemOrArmor(armour.type + 1, new ItemStack(armour.item));
}
else if(Team.teams.size() > 0)
{