Allow nested lists
Jummit opened this issue ยท 0 comments
Currently a nested list crashes with this error:
java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
at me.shedaniel.autoconfig.gui.DefaultGuiProviders.lambda$apply$44(DefaultGuiProviders.java:238) ~[cloth-config-fabric-4.11.26.jar:?]
Code:
public List<List<String>> rules = Arrays.asList(Arrays.asList("some", "values"));
// also tried
public List<ArrayList<String>> rules = new ArrayList<ArrayList<String>>();