mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-22 15:05:18 +01:00
Fix conflict enchantment
This commit is contained in:
parent
6b317d678c
commit
6b39894089
@ -177,7 +177,11 @@ public class VillagerListeners extends PluginDependent implements Listener {
|
||||
if (enchant.conflictsWith(enchantment)) {
|
||||
anyConflicts.set(true);
|
||||
}
|
||||
|
||||
|
||||
if (enchantment.conflictsWith(enchant)) {
|
||||
anyConflicts.set(true);
|
||||
}
|
||||
|
||||
EcoEnchant ecoEnchant = EcoEnchants.getFromEnchantment(enchant);
|
||||
|
||||
if (enchantment.getType().equals(ecoEnchant.getType()) && ecoEnchant.getType().isSingular()) {
|
||||
|
Loading…
Reference in New Issue
Block a user