From 16b2dc311eb0113653d63f5684bc7604f7ffcaa4 Mon Sep 17 00:00:00 2001 From: SpaceToad Date: Sat, 28 Jun 2014 14:14:32 +0200 Subject: [PATCH] fixed else statement, for #1877 --- common/buildcraft/core/robots/boards/BoardRobotPicker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/buildcraft/core/robots/boards/BoardRobotPicker.java b/common/buildcraft/core/robots/boards/BoardRobotPicker.java index 9e9efc3f..ab8625cb 100755 --- a/common/buildcraft/core/robots/boards/BoardRobotPicker.java +++ b/common/buildcraft/core/robots/boards/BoardRobotPicker.java @@ -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 {