Changed deprecations

This commit is contained in:
Auxilor
2023-01-27 12:52:55 +00:00
parent 25c087592d
commit b035fa8940
3 changed files with 2 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ open class EcoConfig(
}
override fun addInjectablePlaceholder(placeholders: Iterable<InjectablePlaceholder>) {
injections.removeIf { placeholders.any { placeholder -> it.pattern == placeholder.pattern } }
injections.removeIf { placeholders.any { placeholder -> it.identifier == placeholder.identifier } }
injections.addAll(placeholders)
}