Skip to content

Commit

Permalink
Pathfinding changes from mentor review
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTechGuy committed Jul 29, 2019
1 parent cdce874 commit 933a75a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/org/terasology/minion/move/FindPathToNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.MoreExecutors;
import com.google.common.util.concurrent.SettableFuture;
import org.terasology.logic.behavior.BehaviorAction;
import org.terasology.logic.behavior.core.Actor;
Expand Down Expand Up @@ -90,7 +91,7 @@ public void onSuccess(List<Path> paths) {
public void onFailure(Throwable t) {
moveComponent.path = Path.INVALID;
}
});
}, MoreExecutors.directExecutor());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
public class MoveAlongPathNode extends BaseAction {
private static final Logger logger = LoggerFactory.getLogger(MoveAlongPathNode.class);

@In
// @In
private transient PathRenderSystem pathRenderSystem;

@Override
Expand Down

0 comments on commit 933a75a

Please sign in to comment.