Pretty sure that should be a ||

This commit is contained in:
Ben Spiers committed 2016-05-04 12:45:39 +01:00
1 parent 384cf174bb
commit 4e90ca94c9
1 file changed
+1 -1
@@ -458,7 +458,7 @@ public final class TransporterPathfinder
}
}
if(currentNode == null && start.distanceTo(currentNode) > maxSearchDistance) //TODO: This is definitely a mistake, not sure if should be != null or || though.
if(currentNode == null || start.distanceTo(currentNode) > maxSearchDistance)
{
break;
}