If, for ever what reason, bot places a trap onto a location that is not set on startup, it will start spamming tar on herbs until it runs out. Happened multiple times. Guess bot expectes that one trap should still be in inventory, but it's not.
So if you can add some error checking and fail...