mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
fix custom anvil not checking enchantment key name
version bump
This commit is contained in:
parent
58b2910350
commit
4dd7d6361b
2 changed files with 2 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ public class CAEEV5Enchantment extends CABukkitEnchantment implements Additional
|
|||
|
||||
for (CAEnchantment caEnchantment : enchantments.keySet()) {
|
||||
if (conflicts.contains(caEnchantment.getName())) return true;
|
||||
if (conflicts.contains(caEnchantment.getKey().toString())) return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue