Config injections no longer use a ConcurrentHashMap

This commit is contained in:
Auxilor
2023-04-27 15:51:16 +01:00
parent 82797e7342
commit 70631e67c5

View File

@@ -18,7 +18,7 @@ open class EcoConfig(
private val values = ConcurrentHashMap<String, Any?>()
@Transient
var injections = ConcurrentHashMap<Pattern, InjectablePlaceholder>()
var injections = mutableMapOf<Pattern, InjectablePlaceholder>()
fun init(values: Map<String, Any?>) {
this.values.clear()