fixed a minor bug:

plants_lib/init.lua:83: bad argument #1 to 'getn' (table expected, got nil)