After all these years, the ints show up correctly after restarting (it was literally a 1 line fix)

This commit is contained in:
coolGi2007
2022-01-24 19:41:33 +10:30
parent 1d914b8f8a
commit f03035e3f9
@@ -566,7 +566,7 @@ public abstract class ConfigGui
{
EditBox widget = new EditBox(font, this.width - info.width - ConfigScreenConfigs.SpaceFromRightScreen + 2, 0, info.width - 4, 20, null);
widget.setMaxLength(info.width);
widget.insertText(info.tempValue);
widget.insertText(String.valueOf(info.value));
Predicate<String> processor = ((BiFunction<EditBox, Button, Predicate<String>>) info.widget).apply(widget, done);
widget.setFilter(processor);
this.list.addButton(widget, resetButton, null, name);