fixed crafter robot not reseting
This commit is contained in:
parent
1cacc0cd67
commit
846e186c9a
1 changed files with 3 additions and 0 deletions
|
@ -126,11 +126,14 @@ public class BoardRobotCrafter extends RedstoneBoardRobot {
|
|||
if (ai.success()) {
|
||||
startDelegateAI(new AIRobotUnload(robot));
|
||||
} else {
|
||||
robot.releaseResources();
|
||||
currentRequest = null;
|
||||
startDelegateAI(new AIRobotGotoSleep(robot));
|
||||
}
|
||||
} else if (ai instanceof AIRobotSearchStackRequest) {
|
||||
if (!ai.success()) {
|
||||
craftingBlacklist.clear();
|
||||
currentRequest = null;
|
||||
startDelegateAI(new AIRobotGotoSleep(robot));
|
||||
} else {
|
||||
currentRequest = ((AIRobotSearchStackRequest) ai).request;
|
||||
|
|
Loading…
Reference in a new issue