Properly capped unenchanting cost to 60.

master_event
Nonoriri 11 years ago
parent 5a9dd42345
commit d409918bd6
  1. 2
      BankEconomyMod/src/me/kaZep/Base/PlayerListener.java

@ -13679,6 +13679,8 @@ class updateInventoryTask implements Runnable {
for (Enchantment e : enchantments.keySet()) {
cost += (1 + enchantments.get(e));
}
cost = Math.min(60, cost);
ItemStack orbs = new ItemStack(Material.SLIME_BALL);

Loading…
Cancel
Save