diff options
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt')
-rw-r--r-- | src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt b/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt index 28b0fd3..1958819 100644 --- a/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt +++ b/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt @@ -12,4 +12,9 @@ class JarvisIntegrationPlugin: JarvisPlugin { override fun getAllHuds(): List<JarvisHud> { return DulkirConfig.huds.map { it.first } } + + override fun onHudEditorClosed() { + super.onHudEditorClosed() + DulkirConfig.saveConfig() + } }
\ No newline at end of file |