Skip to content

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

Description

@GsakuL

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions