}
} else if (ai instanceof AIRobotGotoBlock) {
if (!ai.success()) {
startDelegateAI(new AIRobotGotoSleep(robot));
} else {
startDelegateAI(new AIRobotPumpBlock(robot, blockFound));
}
} else if (ai instanceof AIRobotGotoStationAndUnloadFluids) {
robot.getRegistry().take(new ResourceIdBlock (blockFound), robot);
if (!ai.success()) {