@EventHandler
	public void mobSpawn(CreatureSpawnEvent  event){
		LivingEntity creature = event.getEntity();
		if(creature.getCustomName() == null){
			Location loc = creature.getLocation();
			
			if(plugin.isInRegion("Town", loc) || plugin.isInRegion("ghetto", loc)){
				
			if(event.getSpawnReason() == SpawnReason.NATURAL){
				event.setCancelled(true);
				}
			}
		}
		
		if(event.getSpawnReason() == SpawnReason.EGG || event.getSpawnReason() == SpawnReason.BREEDING){
			event.setCancelled(true);
		}
	}