From f03035e3f9a6c9dff54334695dbaf8135a534a57 Mon Sep 17 00:00:00 2001 From: coolGi2007 Date: Mon, 24 Jan 2022 19:41:33 +1030 Subject: [PATCH] After all these years, the ints show up correctly after restarting (it was literally a 1 line fix) --- .../java/com/seibel/lod/common/wrappers/config/ConfigGui.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java b/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java index d051f1fc9..ed6051242 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/config/ConfigGui.java @@ -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 processor = ((BiFunction>) info.widget).apply(widget, done); widget.setFilter(processor); this.list.addButton(widget, resetButton, null, name);