We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f614f commit 7651dc7Copy full SHA for 7651dc7
src/main/java/bwapi/Unit.java
@@ -1001,7 +1001,7 @@ public Position getTargetPosition() {
1001
if (game.isLatComEnabled() && self().targetPositionX.valid(game.getFrameCount())) {
1002
return new Position(self().targetPositionX.get(), self().targetPositionY.get());
1003
}
1004
- return new Position(unitData.getOrderTargetPositionX(), unitData.getOrderTargetPositionY());
+ return new Position(unitData.getTargetPositionX(), unitData.getTargetPositionY());
1005
1006
1007
/**
0 commit comments