mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Pretty sure that should be a ||
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user