i'll try it later, one thing it did do was give empty pointer error without the null, but with it makes it stop after it picks up the food forgetting to walk or forage.