Skip to content

Commit

Permalink
fix: NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
Uhutown committed Sep 8, 2024
1 parent ac34eb1 commit 519c694
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ public void updateSignals(final Iterable<Point> updated) {
private void updateTrainNumber(final List<Point> points) {
points.forEach(point -> {
final UISignalBoxTile tile = allTiles.get(point);
if (tile == null)
return;
tile.setNode(tile.getNode());
});
lowerEntity.update();
Expand Down

0 comments on commit 519c694

Please sign in to comment.