mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-26 20:27:38 +01:00
commit
8ca3f4f0a1
@ -178,6 +178,10 @@ public class VillagerListeners extends PluginDependent implements Listener {
|
||||
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