From b570e38be3871246ce2e88e8cafb83ed93c2a0d6 Mon Sep 17 00:00:00 2001 From: Acrobot Date: Mon, 22 Jul 2013 21:39:22 +0200 Subject: [PATCH] Fix selling of enchanted "normal" items --- src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java b/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java index 0e1fe92..8d47bcc 100644 --- a/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java +++ b/src/main/java/com/Acrobot/Breeze/Utils/InventoryUtil.java @@ -141,7 +141,7 @@ public class InventoryUtil { int neededToAdd = Math.min(maxStackSize - currentAmount, amountLeft); duplicate.setAmount(currentAmount + neededToAdd); - duplicate.addEnchantments(item.getEnchantments()); + duplicate.addUnsafeEnchantments(item.getEnchantments()); amountLeft -= neededToAdd;