fixed PathFinderMoveStrategy

This commit is contained in:
romanschenk37 2022-03-25 00:10:07 +01:00
parent b01bee0142
commit 448e34e869
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ public class PathFinderMoveStrategy implements MoveStrategy{
@Override @Override
public PositionVector.Direction nextMove() { public PositionVector.Direction nextMove() { //TODO check for crash and recreate movelist if crash
pointer += 1; pointer += 1;
if (pointer < moveList.size()) { if (pointer < moveList.size()) {
return moveList.get(pointer); return moveList.get(pointer);