Fixed multisell tax rate visual problem.

This commit is contained in:
MobiusDev
2018-09-01 18:34:06 +00:00
parent fe5fa51654
commit 3c67c77c2e
7 changed files with 7 additions and 7 deletions

View File

@ -93,7 +93,7 @@ public class PreparedMultisellListHolder extends MultisellListHolder
*/
public long getIngredientCount(ItemHolder ingredient)
{
return (ingredient.getId() == Inventory.ADENA_ID) ? Math.round(ingredient.getCount() * getIngredientMultiplier() * (1 + _taxRate)) : Math.round(ingredient.getCount() * getIngredientMultiplier());
return (ingredient.getId() == Inventory.ADENA_ID) ? Math.round(ingredient.getCount() * getIngredientMultiplier() * (1 + getTaxRate())) : Math.round(ingredient.getCount() * getIngredientMultiplier());
}
/**