AutoConfig
AutoConfig copied to clipboard
Floats or doubles in list-type config fields blank out in the screen when they would be formatted in scientific notation
I'm not sure whether this is an issue with AutoConfig or Cloth Config, but if a field that would display using FloatListListEntry or DoubleListListEntry contains a number that would be formatted using scientific notation, then the config screen will have the field for that number blanked out.
To reproduce: Add a field to a config class:
public List<Double> dummy = Collections.singletonList(1e-5);
Then open the config screen for the mod.
Expected behavior: The list widget for dummy shows a single entry showing 1E-5.
Actual: The entry under dummy is blank.