From b0cb9a70cd9a3f02b86e0386ab6bb70974bba35a Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 24 Aug 2023 18:12:39 +0200 Subject: Revive old profile viewer --- src/main/kotlin/moe/nea/firmament/jarvis/JarvisIntegration.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/kotlin/moe/nea/firmament/jarvis') 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 { return configs.flatMap { config -> config.sortedOptions.map { -- cgit