Check whether block exists in getBlockMaterial

Fixes FallenMoonNetwork/CanaryLib#148
Merge pull request #81 from FallenMoonNetwork/14mRh4X0r/getBlockMaterial

Check whether block exists in getBlockMaterial