Fixed error introduced in previous patch which prevented crop growing