Skip to content

Commit

Permalink
Fixed crash
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterJulsen committed Oct 12, 2024
1 parent f3bf45a commit 1d9808e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class ScheduleBoardScreen extends AbstractNavigatorScreen {
private UserSettings userSettings = new UserSettings(Minecraft.getInstance().player.getUUID(), false);

private DLEditBox stationBox;
private String stationFrom;
private String stationFrom = "";
private ModDestinationSuggestions destinationSuggestions;

private GuiAreaDefinition workingArea;
Expand Down Expand Up @@ -111,6 +111,7 @@ protected void init() {

if (!fixedStation) {
stationBox = addEditBox(guiLeft + 32 + 5, guiTop + 25, 152, 12, stationFrom, TextUtils.empty(), false, (v) -> {
if (stationBox == null) return;
stationFrom = v;
updateEditorSubwidgets(stationBox);
}, NO_EDIT_BOX_FOCUS_CHANGE_ACTION, null);
Expand Down

0 comments on commit 1d9808e

Please sign in to comment.