Added 'everything' along with 'all'

This commit is contained in:
Auxilor 2022-10-03 23:56:42 +01:00
parent bbe0c6df80
commit 514efc7d8a

View File

@ -66,6 +66,7 @@ abstract class EcoEnchant(
private val conflictNames = config.getStrings("conflicts")
val conflictsWithEverything = conflictNames.containsIgnoreCase("all")
|| conflictNames.containsIgnoreCase("everything")
val conflicts: Collection<Enchantment>
get() = if (conflictsWithEverything) values().toList()