mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-20 20:22:17 +00:00
Workaround missing font renderer causing OptionTextField crash
This commit is contained in:
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()))
|
||||
|
||||
Reference in new issue
Block a user