You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like Configurate can't handle nested collections, like:
val townTypePrices:Map<Enum, Map<Material, Int>> =mapOf(
Enum to mapOf(Material.EMERALD to 3, Material.STONE to 100),
Enum to mapOf(Material.EMERALD to 3, Material.STONE to 100),
Enum to mapOf(Material.EMERALD to 3, Material.STONE to 100),
),
I see the same issue with lists inside lists, etc.
Always had to make an object what will store other collections, and store a list of these objects, but that's not good
When I save it, it always just prints something like town-type-prices: {}
The text was updated successfully, but these errors were encountered:
BlackBaroness
changed the title
Unable to have collection inside collection
Nested collections aren't supported
Jun 3, 2024
Hi!
Seems like Configurate can't handle nested collections, like:
I see the same issue with lists inside lists, etc.
Always had to make an object what will store other collections, and store a list of these objects, but that's not good
When I save it, it always just prints something like
town-type-prices: {}
The text was updated successfully, but these errors were encountered: