Properly capped unenchanting cost to 60.

This commit is contained in:
Nonoriri 2013-11-24 12:11:49 -05:00
parent 5a9dd42345
commit d409918bd6

View File

@ -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);