fix(common/config): restart on rule changes

This commit is contained in:
rhunk
2024-07-16 23:27:23 +02:00
committed by GitHub
parent ed42ed4caf
commit 8c046e984f

View File

@@ -19,9 +19,10 @@ class Rules : ConfigContainer() {
customTranslationPath = "rules.properties.${ruleType.key}"
customOptionTranslationPath = "rules.modes"
addNotices(*ruleType.configNotices)
requireRestart()
}.apply {
set(ruleType.defaultValue)
}
}
}
}
}