Update ConfigManager.kt

This commit is contained in:
bluefireoly
2020-10-15 19:30:14 +02:00
parent 77011949a5
commit 27285cf435

View File

@@ -50,7 +50,7 @@ class ConfigDelegate<T : Any> (
operator fun getValue(thisRef: Any?, property: KProperty<*>) = internalConfig
operator fun setValue(thisRef: Any?, property: KProperty<*>, config: T): Boolean {
saveIt(config)
internalConfig = config
return true
}