mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-12 23:37:29 +01:00
Remove unused lines
This commit is contained in:
parent
0014ea6ac6
commit
1b2f3b1a8d
1 changed files with 2 additions and 2 deletions
|
@ -605,7 +605,7 @@ public class Navigation {
|
|||
|
||||
frontier.add(new FrontierEntry(distanceToNode2, 0, initialNode1, initialNode2, initialEdge));
|
||||
int signalWeight = Mth.clamp(ticksWaitingForSignal * 2, Train.Penalties.RED_SIGNAL, 200);
|
||||
int total = 0;
|
||||
|
||||
Search: while (!frontier.isEmpty()) {
|
||||
FrontierEntry entry = frontier.poll();
|
||||
if (!visited.add(entry.edge))
|
||||
|
@ -616,7 +616,7 @@ public class Navigation {
|
|||
|
||||
if (distance > maxDistance)
|
||||
continue;
|
||||
total++;
|
||||
|
||||
TrackEdge edge = entry.edge;
|
||||
TrackNode node1 = entry.node1;
|
||||
TrackNode node2 = entry.node2;
|
||||
|
|
Loading…
Reference in a new issue