mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 06:30:13 +08:00
add ConfigSection.new .create
This commit is contained in:
parent
f7affdd2ae
commit
0eb4f58da0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user