aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-11 16:44:39 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-11 16:44:54 +0100
commitc17b1e6c793eecbe7f37f343386242ad4106ee39 (patch)
tree37872a0ab0191f6dca839c7195c20676c9855ce4
parentc2467b478705ccb3a2d0800beff9b1b4895c43c3 (diff)
downloadneuhax-c17b1e6c793eecbe7f37f343386242ad4106ee39.tar.gz
neuhax-c17b1e6c793eecbe7f37f343386242ad4106ee39.tar.bz2
neuhax-c17b1e6c793eecbe7f37f343386242ad4106ee39.zip
Fix config not saving
-rw-r--r--src/main/kotlin/moe/nea/sky/config/NeuHaxConfig.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/sky/config/NeuHaxConfig.kt b/src/main/kotlin/moe/nea/sky/config/NeuHaxConfig.kt
index d418464..7be11d0 100644
--- a/src/main/kotlin/moe/nea/sky/config/NeuHaxConfig.kt
+++ b/src/main/kotlin/moe/nea/sky/config/NeuHaxConfig.kt
@@ -3,6 +3,7 @@ package moe.nea.sky.config
import com.google.gson.annotations.Expose
import io.github.moulberry.moulconfig.Config
import io.github.moulberry.moulconfig.annotations.Category
+import moe.nea.sky.NEUHax
class NeuHaxConfig : Config() {
@Category(name = "Misc", desc = "Misc macros")
@@ -24,4 +25,8 @@ class NeuHaxConfig : Config() {
override fun getTitle(): String {
return "§ZThe most legitimate NEU features available this side of the danube"
}
+
+ override fun saveNow() {
+ NEUHax.config.saveToFile()
+ }
} \ No newline at end of file