}
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)
{