Fixed ArrayIndexOutOfBoundsException in getOreName

Added sanity check to prevent ArrayIndexOutOfBoundsException in getOreName for negative ids.
Merge pull request #1155 from Zarathul/master

Added soft return for modders passing invalid negative ids to OreDictionary.getOreName. Warning: WILL Error in 1.8+