aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/command/FairyCommand.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/command/FairyCommand.kt')
-rw-r--r--src/main/kotlin/dulkirmod/command/FairyCommand.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/dulkirmod/command/FairyCommand.kt b/src/main/kotlin/dulkirmod/command/FairyCommand.kt
index a6c1b00..b8231b7 100644
--- a/src/main/kotlin/dulkirmod/command/FairyCommand.kt
+++ b/src/main/kotlin/dulkirmod/command/FairyCommand.kt
@@ -10,7 +10,6 @@ class FairyCommand : ClientCommandBase("fairy") {
override fun processCommand(sender: ICommandSender, args: Array<String>) {
config.hideHealerFairy = !config.hideHealerFairy
TextUtils.toggledMessage("Healer Fairy Hider", config.hideHealerFairy)
- config.markDirty()
- config.writeData()
+ config.save()
}
} \ No newline at end of file