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