fixed else statement, for #1877
This commit is contained in:
parent
ada0ab4311
commit
16b2dc311e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public class BoardRobotPicker extends RedstoneBoardRobot {
|
|||
if (ai instanceof AIRobotFetchItem) {
|
||||
if (((AIRobotFetchItem) ai).noItemPicked) {
|
||||
startDelegateAI(new AIRobotGotoDock(robot, (DockingStation) robot.getLinkedStation()));
|
||||
} if (((AIRobotFetchItem) ai).target != null) {
|
||||
} else if (((AIRobotFetchItem) ai).target != null) {
|
||||
// if we could get an item, let's try to get another one
|
||||
startDelegateAI(new AIRobotFetchItem(robot, range, stackFilter, robot.getAreaToWork()));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue