diff options
author | nea <nea@nea.moe> | 2023-08-24 18:12:39 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-24 18:12:39 +0200 |
commit | b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a (patch) | |
tree | ddb5e478c321e87c424f002b959265b25891b943 /src/main/kotlin/moe/nea/firmament/jarvis | |
parent | 8c5570bfe6ab93855e24e6924fac1105fe8342ff (diff) | |
download | Firmament-b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a.tar.gz Firmament-b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a.tar.bz2 Firmament-b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a.zip |
Revive old profile viewer
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/jarvis')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/jarvis/JarvisIntegration.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/jarvis/JarvisIntegration.kt b/src/main/kotlin/moe/nea/firmament/jarvis/JarvisIntegration.kt index 9c27030..d760862 100644 --- a/src/main/kotlin/moe/nea/firmament/jarvis/JarvisIntegration.kt +++ b/src/main/kotlin/moe/nea/firmament/jarvis/JarvisIntegration.kt @@ -42,6 +42,10 @@ class JarvisIntegration : JarvisPlugin { } } + override fun onHudEditorClosed() { + configs.forEach { it.save() } + } + override fun getAllConfigOptions(): List<JarvisConfigOption> { return configs.flatMap { config -> config.sortedOptions.map { |