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

@ -13680,6 +13680,8 @@ class updateInventoryTask implements Runnable {
cost += (1 + enchantments.get(e));
}
cost = Math.min(60, cost);
ItemStack orbs = new ItemStack(Material.SLIME_BALL);
ItemMeta temp_meta = orbs.getItemMeta();

Loading…
Cancel
Save