mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
fix conflict with all
This commit is contained in:
parent
5f5339a669
commit
f9da8ad6ef
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ public class CAIncompatibleAllEnchant extends CABukkitEnchantment implements Add
|
|||
|
||||
@Override
|
||||
public boolean isEnchantConflict(@NotNull Map<CAEnchantment, Integer> enchantments, @NotNull Material itemMat) {
|
||||
return true;
|
||||
return !enchantments.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue