[Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602

This commit is contained in:
Wesley Wolfe
2012-03-02 12:49:56 -06:00
committed by EvilSeph
parent 94a61cc3a5
commit 3d928b7d44

View File

@@ -64,7 +64,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable {
if (stack.data != null) { if (stack.data != null) {
this.data = stack.data.clone(); this.data = stack.data.clone();
} }
enchantments.putAll(stack.enchantments); this.addUnsafeEnchantments(stack.getEnchantments());
} }
/** /**