Made metadata get checked when decided whether a plant can generate in a position. Fixes #11