@Override
public void delegateAIEnded(AIRobot ai) {
if (ai instanceof AIRobotGotoStationToLoad) {
startDelegateAI(new AIRobotLoad(robot, TNT_FILTER));
} else if (ai instanceof AIRobotSearchRandomGroundBlock) {
AIRobotSearchRandomGroundBlock aiFind = (AIRobotSearchRandomGroundBlock) ai;
startDelegateAI(new AIRobotGotoBlock(robot, aiFind.blockFound.x, aiFind.blockFound.y + flyingHeight,
aiFind.blockFound.z));
} else if (ai instanceof AIRobotGotoBlock) {
ITransactor t = Transactor.getTransactorFor(robot);