Properly capped unenchanting cost to 60.
This commit is contained in:
parent
5a9dd42345
commit
d409918bd6
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user