264265266267268269270271272273274
if (this.getTarget() != null) { for (int i = 0; i < this.nodeList.size(); i++) { if (new BlockVec3(this.nodeList.get(i).getTile()).equals(new BlockVec3(this.getTarget().getTile()))) { index = i; break; } }