Checking if treeSpecies is null to avoid errors with mcpc/mods