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

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot 2012-03-02 12:49:56 -06:00
parent 0e0427ebeb
commit c9937a01c8

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