Update api.lua

Add protection support to seed placement and hoeing