Fixed check to see if plant's z-coord is correct

Signed-off-by: deathrat <deathrat43@gmail.com>