mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-22 00:21:28 +01:00
Added 'everything' along with 'all'
This commit is contained in:
parent
bbe0c6df80
commit
514efc7d8a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user