Fixed Lua error on eating food.