mirror of
https://gitlab.bixilon.de/bixilon/pixlyzer.git
synced 2025-09-25 05:01:50 -04:00
sort features
This makes mappings generation consistent
This commit is contained in:
parent
4e0862b461
commit
7c34dcf900
@ -1 +1 @@
|
||||
Subproject commit 5f3a312b84b4cfe7e35c093e5ec9f5cc705c885a
|
||||
Subproject commit cf59097c28805f8ee1365df685934794f7be4a79
|
@ -19,7 +19,7 @@ object FeatureGenerator : Generator(
|
||||
if (FEATURE_MANAGER == null) {
|
||||
return
|
||||
}
|
||||
val map = getField(FEATURE_MANAGER::class.java, "featureFlags")!!.get(FEATURE_MANAGER) as Map<Identifier, Any>
|
||||
val map = (getField(FEATURE_MANAGER::class.java, "featureFlags")!!.get(FEATURE_MANAGER) as Map<Identifier, Any>).entries.toList().sortedBy { it.key.toString() }
|
||||
|
||||
var index = 0
|
||||
for ((identifier, flag) in map) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user