diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/inventory/ItemStack.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/inventory/ItemStack.java b/src/main/java/org/bukkit/inventory/ItemStack.java index b814fbec..41db2218 100644 --- a/src/main/java/org/bukkit/inventory/ItemStack.java +++ b/src/main/java/org/bukkit/inventory/ItemStack.java @@ -64,7 +64,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable { if (stack.data != null) { this.data = stack.data.clone(); } - enchantments.putAll(stack.enchantments); + this.addUnsafeEnchantments(stack.getEnchantments()); } /** |