Package l2p.gameserver.model.base

Examples of l2p.gameserver.model.base.MultiSellIngredient


    }
    if(needFix == 0)
    {
      return ingredients;
    }
    MultiSellIngredient temp;
    GArray<MultiSellIngredient> result = new GArray<MultiSellIngredient>(ingredients.size() + needFix);
    for(MultiSellIngredient ingredient : ingredients)
    {
      ingredient = ingredient.clone();
      while(ingredient.getItemCount() > Integer.MAX_VALUE)
      {
        temp = ingredient.clone();
        temp.setItemCount(2000000000);
        result.add(temp);
        ingredient.setItemCount(ingredient.getItemCount() - 2000000000);
      }
      if(ingredient.getItemCount() > 0)
      {
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.base.MultiSellIngredient

Copyright © 2018 www.massapicom. 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.