aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/notenoughupdates/util/config
diff options
context:
space:
mode:
authornea <romangraef@gmail.com>2022-10-09 04:58:37 +0200
committernea <romangraef@gmail.com>2022-10-09 04:58:37 +0200
commitebffedd08c3ce32b7cd4ef6314f3f0efce7fbf51 (patch)
treea56760fa212cd20fc7719b56d10a92ac33ffc27e /src/main/kotlin/moe/nea/notenoughupdates/util/config
parent4d73331a449f0b0647066f7dde0628730fe0e178 (diff)
downloadfirmament-ebffedd08c3ce32b7cd4ef6314f3f0efce7fbf51.tar.gz
firmament-ebffedd08c3ce32b7cd4ef6314f3f0efce7fbf51.tar.bz2
firmament-ebffedd08c3ce32b7cd4ef6314f3f0efce7fbf51.zip
stuff
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/util/config')
-rw-r--r--src/main/kotlin/moe/nea/notenoughupdates/util/config/ProfileSpecificConfigHolder.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/config/ProfileSpecificConfigHolder.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/config/ProfileSpecificConfigHolder.kt
index 44a79c4..6a39e0a 100644
--- a/src/main/kotlin/moe/nea/notenoughupdates/util/config/ProfileSpecificConfigHolder.kt
+++ b/src/main/kotlin/moe/nea/notenoughupdates/util/config/ProfileSpecificConfigHolder.kt
@@ -29,6 +29,7 @@ abstract class ProfileSpecificConfigHolder<S>(
init {
allConfigs = readValues()
readValues()
+ IConfigHolder.putConfig(this::class, this)
}
private val configDirectory: Path get() = NotEnoughUpdates.CONFIG_DIR.resolve("profiles")