fix(common/config): restart on rule changes
This commit is contained in:
@@ -19,9 +19,10 @@ class Rules : ConfigContainer() {
|
||||
customTranslationPath = "rules.properties.${ruleType.key}"
|
||||
customOptionTranslationPath = "rules.modes"
|
||||
addNotices(*ruleType.configNotices)
|
||||
requireRestart()
|
||||
}.apply {
|
||||
set(ruleType.defaultValue)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user