Workaround missing font renderer causing OptionTextField crash

This commit is contained in:
Jason Mitchell committed 2020-01-02 11:30:24 -08:00
1 parent 503d26dcdf
commit 9359df3031
3 files changed
+26 -9

No files matched your search

@@ -12,9 +12,8 @@ import static codechicken.lib.gui.GuiDraw.getStringWidth;
public class OptionTextField extends Option
{
private boolean focused = false;
private final TextField textField = new TextField("")
private TextField textField = new TextField("test")
{
@Override
public void onTextChange(String oldText) {
if(focused() && isValidValue(text()))