diff options
author | ronald <inglettronald@gmail.com> | 2023-07-26 18:52:23 -0500 |
---|---|---|
committer | ronald <inglettronald@gmail.com> | 2023-07-26 18:52:23 -0500 |
commit | 45180d569a87740ed8da9535b8b362192e891988 (patch) | |
tree | 19795c7efa4cef23b941372fa7d3ba6a0b895fbb /src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt | |
parent | 829203c44dc2361e78764a59673f3f41fd306e33 (diff) | |
download | DulkirMod-Fabric-45180d569a87740ed8da9535b8b362192e891988.tar.gz DulkirMod-Fabric-45180d569a87740ed8da9535b8b362192e891988.tar.bz2 DulkirMod-Fabric-45180d569a87740ed8da9535b8b362192e891988.zip |
wip
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 |