mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-27 20:37:34 +01:00
commit
8ca3f4f0a1
@ -178,6 +178,10 @@ public class VillagerListeners extends PluginDependent implements Listener {
|
|||||||
anyConflicts.set(true);
|
anyConflicts.set(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (enchantment.conflictsWith(enchant)) {
|
||||||
|
anyConflicts.set(true);
|
||||||
|
}
|
||||||
|
|
||||||
EcoEnchant ecoEnchant = EcoEnchants.getFromEnchantment(enchant);
|
EcoEnchant ecoEnchant = EcoEnchants.getFromEnchantment(enchant);
|
||||||
|
|
||||||
if (enchantment.getType().equals(ecoEnchant.getType()) && ecoEnchant.getType().isSingular()) {
|
if (enchantment.getType().equals(ecoEnchant.getType()) && ecoEnchant.getType().isSingular()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user