diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/merging/anvil/AnvilMerge.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/merging/anvil/AnvilMerge.java index dcb41e4e..141d8b3f 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/merging/anvil/AnvilMerge.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/support/merging/anvil/AnvilMerge.java @@ -116,6 +116,10 @@ public class AnvilMerge { return new Pair<>(null, null); } + if (left.getAmount() != right.getAmount()) { + return new Pair<>(null, null); + } + HashMap leftEnchants = new HashMap<>(); HashMap rightEnchants = new HashMap<>();