Fixed a bug that was making the application of item bonuses cost less XP

than intended.
master_event
Nonoriri 11 years ago
parent ca8de45ef8
commit 61ed29266b
  1. 2
      BankEconomyMod/src/me/kaZep/Base/PlayerListener.java

@ -13607,7 +13607,7 @@ class updateInventoryTask implements Runnable {
i++; i++;
} }
int cost = 0; int cost = anvilInv.getItem(LEVELS).getAmount();
if (itemBonuses.get(appliedEnchant) == null) { if (itemBonuses.get(appliedEnchant) == null) {
// This bonus doesn't exist. Calculate full cost. // This bonus doesn't exist. Calculate full cost.

Loading…
Cancel
Save