fixed ArrayIndexOutOfBoundsException

fixed ArrayIndexOutOfBoundsException from issue #99
https://github.com/ForestryMC/ForestryMC/issues/99
i think.