Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiYueCommentary committed Jan 23, 2025
1 parent f0fd36a commit 6b88c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void setNewSignId(String newSignId) {
final boolean isLine = IRailwaySign.signIsLine(newSignId);
final boolean isStation = IRailwaySign.signIsStation(newSignId);
if ((isExitLetter || isPlatform || isLine || isStation)) {
MinecraftClient.getInstance().openScreen(new Screen(new DashboardListSelectorScreen(new ObjectImmutableList<>(isExitLetter ? exitsForList : isPlatform ? platformsForList : isLine ? routesForList : stationsForList), selectedIds, false, false, this)));
MinecraftClient.getInstance().openScreen(new Screen(new DashboardListSelectorScreen(this::onClose2, new ObjectImmutableList<>(isExitLetter ? exitsForList : isPlatform ? platformsForList : isLine ? routesForList : stationsForList), selectedIds, false, false, this)));
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ protected void setNewSignId(@Nullable String newSignId) {
final boolean isLine = IRailwaySign.signIsLine(newSignId);
final boolean isStation = IRailwaySign.signIsStation(newSignId);
if ((isExitLetter || isPlatform || isLine || isStation)) {
MinecraftClient.getInstance().openScreen(new Screen(new DashboardListSelectorScreen(new ObjectImmutableList<>(isExitLetter ? exitsForList : isPlatform ? platformsForList : isLine ? routesForList : stationsForList), selectedIds, false, false, null)));
MinecraftClient.getInstance().openScreen(new Screen(new DashboardListSelectorScreen(this::onClose2, new ObjectImmutableList<>(isExitLetter ? exitsForList : isPlatform ? platformsForList : isLine ? routesForList : stationsForList), selectedIds, false, false, null)));
}
}
}
Expand Down

0 comments on commit 6b88c47

Please sign in to comment.