Examples of unregisterRecipe()


Examples of l2p.gameserver.model.L2Player.unregisterRecipe()

    if(rp == null)
    {
      activeChar.sendActionFailed();
      return;
    }
    activeChar.unregisterRecipe(_RecipeID);
    RecipeBookItemList response = new RecipeBookItemList(rp.isDwarvenRecipe(), (int) activeChar.getCurrentMp());
    response.setRecipes(activeChar.getDwarvenRecipeBook());
    activeChar.sendPacket(response);
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.unregisterRecipe()

        {
          continue;
        }
        if (Config.ALT_GAME_UNREGISTER_RECIPE && (ItemHolder.getInstance().getTemplate(material.getItemId()).getItemType() == EtcItemType.RECIPE))
        {
          activeChar.unregisterRecipe(RecipeHolder.getInstance().getRecipeByRecipeItem(material.getItemId()).getId());
        }
        else
        {
          if (!activeChar.getInventory().destroyItemByItemId(material.getItemId(), material.getCount()))
          {
View Full Code Here

Examples of lineage2.gameserver.model.Player.unregisterRecipe()

    if (rp == null)
    {
      activeChar.sendActionFailed();
      return;
    }
    activeChar.unregisterRecipe(_recipeId);
    activeChar.sendPacket(new RecipeBookItemList(activeChar, rp.isDwarven()));
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.