diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-11-01 13:42:42 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-11-01 13:42:42 +0100 |
commit | 4b765d176b23df052ebdad4b45c480ffe904e4de (patch) | |
tree | f72cea5d2374a34423aad32fb12dc082147125e3 /src/main/kotlin/dulkirmod/config/Config.kt | |
parent | 5ded107137a04fdbdfa718436a016af98cadd28e (diff) | |
download | DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.tar.gz DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.tar.bz2 DulkirMod-4b765d176b23df052ebdad4b45c480ffe904e4de.zip |
kotlin reformat
Diffstat (limited to 'src/main/kotlin/dulkirmod/config/Config.kt')
-rw-r--r-- | src/main/kotlin/dulkirmod/config/Config.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/kotlin/dulkirmod/config/Config.kt b/src/main/kotlin/dulkirmod/config/Config.kt index 3496ddd..9075b4f 100644 --- a/src/main/kotlin/dulkirmod/config/Config.kt +++ b/src/main/kotlin/dulkirmod/config/Config.kt @@ -42,6 +42,7 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so category = "Dungeons" ) var hideHealerFairy = false + @Property( type = PropertyType.SWITCH, name = "Hide Heart Particles", @@ -495,6 +496,7 @@ object Config : Vigilant(File("./config/dulkirmod/config.toml"), "DulkirMod", so "If your bridge format does not work, message me on discord and I can probably add it." ) } + private object ConfigSorting : SortingBehavior() { override fun getCategoryComparator(): Comparator<in Category> = Comparator { o1, o2 -> if (o1.name == "General") return@Comparator -1 |