findNavigationTarget

public static Location findNavigationTarget(Location sourceLocation, Location destinationLocation)

Where to point a player heading for a destination: the destination itself in the same world, the portal that starts its dungeon when it is inside a dungeon copy, otherwise the wormhole into its world landing closest to it.