Allow enchantments over normal levels

This commit is contained in:
Acrobot 2013-03-30 15:57:42 +01:00
parent 960b1617c6
commit 20f9599c66

View File

@ -131,7 +131,7 @@ public class InventoryUtil {
if (MaterialUtil.isEmpty(currentItem)) {
duplicate.setAmount(Math.min(amountLeft, maxStackSize));
duplicate.addEnchantments(item.getEnchantments());
duplicate.addUnsafeEnchantments(item.getEnchantments());
amountLeft -= duplicate.getAmount();