Fix a NPE with getFlowerAndGrassXp()

Fixes #1975