Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teleport Rail causes NullPointerException if not part of a rail network #102

Open
GsakuL opened this issue Dec 9, 2019 · 0 comments · May be fixed by #103
Open

Teleport Rail causes NullPointerException if not part of a rail network #102

GsakuL opened this issue Dec 9, 2019 · 0 comments · May be fixed by #103

Comments

@GsakuL
Copy link

GsakuL commented Dec 9, 2019

If not properly set up with Station Markers / Signals, the Teleport Rail just straight up crashes the server. e.g. https://pastebin.com/PtzDPuyH
In com.minemaarten.signals.block.BlockTeleportRail.getNeighboringTeleportRails the variable edge (line 175) will be null.

This could happen to new users. Or accidentally, if a cart gets pushed onto the rail, without care.

GsakuL pushed a commit to GsakuL/Signals that referenced this issue Dec 9, 2019
@GsakuL GsakuL linked a pull request Dec 9, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant