Revert the following commit
Add handling for the result of auto_planting function call