Fixed merchant tax problems.

This commit is contained in:
MobiusDev
2017-08-19 14:07:40 +00:00
parent 921e27c486
commit 0c183135c2
21 changed files with 135 additions and 141 deletions

View File

@@ -100,11 +100,6 @@ public class L2MerchantInstance extends L2NpcInstance
return getCastle() != null;
}
public double getCastleTaxRate()
{
return hasCastle() ? getCastle().getTaxRate() : 0.0;
}
public int getTotalTax(TaxType taxType)
{
return hasCastle() ? getCastle().getTaxPercent(taxType) : 0;