getMaterial

Gets the Material if getStatistic() is getClassById block or item statistic otherwise returns null.

Return

the Material of the statistic