added catch for rare case of NoTree datalayer causing array index out of bounds on TreeType#
Merge pull request #575 from ProgrammerHero/notree

[0.79] Added catch for rare case of NoTree datalayer causing array index out of bounds