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

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