I have the code, shown below, to exit the rune essence mine. It works 9/10 times, but in some instances, I am too far away from the portal. By 9/10 times, I mean it could happen once in 15 minutes, or once in 2-4 hours. For some reason, it ends up grabbing another portal that's either too far away, or doesn't actually exist (at least, that's what it seemed like whilst debugging). Be it noted that the log for "Could not find the exit portal" is not being displayed while trying to exit throug