Fix bus interface screen text input.

This commit is contained in:
Florian Nücke
2021-08-02 22:13:41 +02:00
parent 2b1544d9bc
commit 553d147f08

View File

@@ -58,7 +58,7 @@ public final class BusInterfaceScreen extends Screen {
nameField.setMaxLength(32);
nameField.setValue(tileEntity.getInterfaceName(side));
addWidget(nameField);
setFocused(nameField);
setInitialFocus(nameField);
addButton(new ImageButton(
this,