mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-12-18 06:17:46 +01:00
Allow enchantments over normal levels
This commit is contained in:
parent
960b1617c6
commit
20f9599c66
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user