add ConfigSection.new .create

This commit is contained in:
jiahua.liu 2020-03-30 23:02:19 +08:00
parent f7affdd2ae
commit 0eb4f58da0

View File

@ -368,6 +368,7 @@ internal inline fun <reified T:Any> ConfigSection.smartGet(key:String):T{
@Serializable
open class ConfigSectionImpl : ConcurrentHashMap<String, Any>(),
ConfigSection {
override fun set(key: String, value: Any) {
super.put(key, value)