mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Added 'none' option to remove all conflicts for a vanilla enchantment
This commit is contained in:
parent
e8eaec33ca
commit
d6d7b567aa
@ -59,6 +59,8 @@ public class VanillaEnchantments {
|
||||
keys.add(NamespacedKey.minecraft(split[i]));
|
||||
}
|
||||
|
||||
keys.removeIf(key -> key.getKey().equalsIgnoreCase("none"));
|
||||
|
||||
return keys;
|
||||
}
|
||||
));
|
||||
|
@ -23,5 +23,9 @@ max-levels: []
|
||||
# conflicts:
|
||||
# - "mending:efficiency:sharpness"
|
||||
#
|
||||
# If you want to remove all conflicts, set the list to 'none':
|
||||
# conflicts:
|
||||
# - "mending:none"
|
||||
#
|
||||
# Beware that this will *override* conflicts, not add to them.
|
||||
conflicts: []
|
Loading…
Reference in New Issue
Block a user