[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 bfe455e1b6
commit e86aed077e

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());
} }
/** /**