aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt
diff options
context:
space:
mode:
authorronald <inglettronald@gmail.com>2023-07-26 18:52:23 -0500
committerronald <inglettronald@gmail.com>2023-07-26 18:52:23 -0500
commit45180d569a87740ed8da9535b8b362192e891988 (patch)
tree19795c7efa4cef23b941372fa7d3ba6a0b895fbb /src/main/kotlin/com/dulkirfabric/util/JarvisIntegrationPlugin.kt
parent829203c44dc2361e78764a59673f3f41fd306e33 (diff)
downloadDulkirMod-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.kt5
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