public static void spawnGuildVender(Location location) {
   Villager villager = (Villager) Bukkit.getWorld("world").spawn(location, (Class) Villager.class);
   villager.setCustomName("§aGuild Vender");
   villager.setCustomNameVisible(true);
   villager.setProfession(Villager.Profession.LIBRARIAN);
   villager.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 999999, 20));
 }
  /*
   * Villager specific methods
   */
  public static Villager SpawnVillager(World world, Location loc, String name) {
    if (EpicSystem.useCitizens()) return null;

    // Check if villager exists
    if (GetEntity(world, name) != null) {
      RemoveVillager(world, name);
    }

    // Set properties
    Villager villager = (Villager) world.spawnEntity(loc, EntityType.VILLAGER);
    villager.setCustomName(name);
    villager.setCustomNameVisible(true);
    villager.setAgeLock(true);
    villager.addPotionEffect(new PotionEffect(PotionEffectType.SLOW, 1000000000, 100000000));
    villager.setCanPickupItems(false);

    QuestEntity epicVillager = new QuestEntity(villager);
    epicVillager.originalLocation = loc;

    entityList.put(villager, epicVillager);

    return villager;
  }