mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-29 16:15:17 +01:00
Fixed combining items of different amounts
This commit is contained in:
parent
734effeaff
commit
bb64f94399
@ -116,6 +116,10 @@ public class AnvilMerge {
|
||||
return new Pair<>(null, null);
|
||||
}
|
||||
|
||||
if (left.getAmount() != right.getAmount()) {
|
||||
return new Pair<>(null, null);
|
||||
}
|
||||
|
||||
HashMap<Enchantment, Integer> leftEnchants = new HashMap<>();
|
||||
HashMap<Enchantment, Integer> rightEnchants = new HashMap<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user