moving away from linked list, so remove nextOpen from PathNode
This commit is contained in:
@@ -54,7 +54,6 @@ public class AStarPathFinder extends AbstractNodeCostSearch {
|
||||
PathNode currentNode = openSet.removeLowest();
|
||||
mostRecentConsidered = currentNode;
|
||||
currentNode.isOpen = false;
|
||||
currentNode.nextOpen = null;
|
||||
BlockPos currentNodePos = currentNode.pos;
|
||||
numNodes++;
|
||||
if (System.currentTimeMillis() > lastPrintout + 1000) {//print once a second
|
||||
|
||||
Reference in New Issue
Block a user