Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/Ingredient.java b/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/Ingredient.java
- index c059824..be5ffe8 100644
- --- a/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/Ingredient.java
- +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/Ingredient.java
- @@ -23,13 +23,14 @@
- public Ingredient(StatSet set)
- {
- - this(set.getInteger("id"), set.getInteger("count"), set.getBool("isTaxIngredient", false), set.getBool("maintainIngredient", false));
- + this(set.getInteger("id"), set.getInteger("count"), set.getInteger("enchantmentLevel", 0), set.getBool("isTaxIngredient", false), set.getBool("maintainIngredient", false));
- }
- - public Ingredient(int itemId, int itemCount, boolean isTaxIngredient, boolean maintainIngredient)
- + public Ingredient(int itemId, int itemCount, int enchantmentLevel, boolean isTaxIngredient, boolean maintainIngredient)
- {
- _itemId = itemId;
- _itemCount = itemCount;
- + _enchantmentLevel = enchantmentLevel;
- _isTaxIngredient = isTaxIngredient;
- _maintainIngredient = maintainIngredient;
- @@ -42,7 +43,7 @@
- */
- public Ingredient getCopy()
- {
- - return new Ingredient(_itemId, _itemCount, _isTaxIngredient, _maintainIngredient);
- + return new Ingredient(_itemId, _itemCount, _enchantmentLevel, _isTaxIngredient, _maintainIngredient);
- }
- public final int getItemId()
- diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/PreparedEntry.java b/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/PreparedEntry.java
- index 0b856a0..e92d9a7 100644
- --- a/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/PreparedEntry.java
- +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/model/multisell/PreparedEntry.java
- @@ -44,7 +44,7 @@
- // now add the adena, if any.
- adenaAmount += _taxAmount; // do not forget tax
- if (adenaAmount > 0)
- - _ingredients.add(new Ingredient(57, adenaAmount, false, false));
- + _ingredients.add(new Ingredient(57, adenaAmount, 0, false, false));
- // now copy products
- _products = new ArrayList<>(template.getProducts().size());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement